Skip to content

Source files for an automated refactoring plug-in for the Eclipse IDE. The refactoring converts Java iterator while-loops to enhanced for-loops while preserving program execution.

andersonss/Eclipse-Refactoring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Eclipse-Refactoring

Source files require integration with platform components of the Eclipse plug-in framework, available on http://www.eclipse.org/platform/.

Example of the refactoring:

##Before

public void foo(Set<String> set) {
	Iterator<String> itr = set.iterator();
	while (itr.hasNext()) {
		itr.next();
		doSomething();
	}
}

##After

public void foo(Set<String> set) {
	for (String tempItr : set) {
		doSomething();
	}
}

About

Source files for an automated refactoring plug-in for the Eclipse IDE. The refactoring converts Java iterator while-loops to enhanced for-loops while preserving program execution.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published