The study investigates code change patterns in adaptive maintenance through the analysis of abstract syntax tree (AST) changes across open source systems. It finds that 76.93% of adaptive changes can be represented by 12 common AST code differences, with 9 change patterns covering 64.69% to 76.58% of total adaptive changes. This research provides a foundation for creating transformation rules to automate adaptive maintenance processes.