diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-08 23:44:43 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-08 23:44:43 +0200 |
commit | f6778b0426d86c8f6bc23b0e3bb7617eb7a08709 (patch) | |
tree | 8e5647eba4ef23350fdd7d2e6079a8711ae5e4e6 /src/lombok/installer/EclipseFinder.java | |
parent | 8534a8e0a552f21ad6479e94fad8db36e67d44d5 (diff) | |
download | lombok-f6778b0426d86c8f6bc23b0e3bb7617eb7a08709.tar.gz lombok-f6778b0426d86c8f6bc23b0e3bb7617eb7a08709.tar.bz2 lombok-f6778b0426d86c8f6bc23b0e3bb7617eb7a08709.zip |
Renamed all true names of 'eclipse' to 'Eclipse' (but not the eclipse package, of course),
and fixed a showstopper bug in the installer that would add -javaagent:lombok.jar to
eclipse.ini, which is wrong of course; it needs to be lombok.eclipse.agent.jar.
Diffstat (limited to 'src/lombok/installer/EclipseFinder.java')
-rw-r--r-- | src/lombok/installer/EclipseFinder.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lombok/installer/EclipseFinder.java b/src/lombok/installer/EclipseFinder.java index 3c966359..4f9ea0dc 100644 --- a/src/lombok/installer/EclipseFinder.java +++ b/src/lombok/installer/EclipseFinder.java @@ -39,7 +39,7 @@ import java.util.regex.Pattern; import lombok.Lombok; -/** Utility class for doing various OS-specific operations related to finding eclipse installations. */ +/** Utility class for doing various OS-specific operations related to finding Eclipse installations. */ class EclipseFinder { private EclipseFinder() { //Prevent instantiation. @@ -122,7 +122,7 @@ class EclipseFinder { } /** - * Returns a list of paths of eclipse installations. + * Returns a list of paths of Eclipse installations. * Eclipse installations are found by checking for the existence of 'eclipse.exe' in the following locations: * * X:\*Program Files*\*Eclipse* @@ -171,10 +171,10 @@ class EclipseFinder { } /** - * Calls the OS-dependent 'find eclipse' routine. If the local OS doesn't have a routine written for it, + * Calls the OS-dependent 'find Eclipse' routine. If the local OS doesn't have a routine written for it, * null is returned. * - * @return List of directories that contain the eclipse executable. + * @return List of directories that contain the Eclipse executable. */ static List<String> findEclipses() { switch ( getOS() ) { @@ -225,7 +225,7 @@ class EclipseFinder { for ( File dir : new File("/Applications").listFiles() ) { if ( !dir.isDirectory() ) continue; if ( dir.getName().toLowerCase().equals("eclipse.app") ) { - //This would be kind of an unorthodox eclipse installation, but if eclipse ever + //This would be kind of an unorthodox Eclipse installation, but if Eclipse ever //moves to this more maclike installation concept, our installer can still handle it. eclipses.add("/Applications"); } |