如果您不能改变原始的API,那么您可以书写封装器代码,将聚集类型转化为数组。
If you cannot change the original API, you can write wrapper code to convert the collection type into an array.
如果代码的改变在被重构的方法内部引发了问题——变量未定义,或者类型不匹配——重构操作将对这些问题进行标记。
If the changes cause problems in the method being refactored — because it leaves undefined variables or mismatched types — the refactoring operations will flag these.
当然如果发生较大变化时,如删除属性或者改变属性的类型,仍会对COBOL代码产生一定的影响。
More profound changes, such as properties being deleted or changing type, would still have an impact on the COBOL code of course.
应用推荐