Skip to content

Commit

Permalink
Format java files in o.e.osgi-supplement
Browse files Browse the repository at this point in the history
This was achieved by running:
eclipse -consolelog -nosplash -application org.eclipse.jdt.core.JavaCodeFormatter \
  -config .settings/org.eclipse.jdt.core.prefs . -data `mktemp -d`

Signed-off-by: Torbjörn SVENSSON <[email protected]>
  • Loading branch information
Torbjorn-Svensson committed Oct 1, 2023
1 parent 8c6b75b commit fcbea47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private static int[] getFileGenerations(File file) {
try {
int id = Integer.parseInt(candidateFile.substring(prefixLen));
list.add(Integer.valueOf(id));
}catch (NumberFormatException e) {/*ignore*/
} catch (NumberFormatException e) {/*ignore*/
}
}
}
Expand Down Expand Up @@ -563,7 +563,7 @@ public static boolean exists(File file) {
try {
Integer.parseInt(candidateFile.substring(prefixLen));
return true;
}catch (NumberFormatException e) {/*ignore*/
} catch (NumberFormatException e) {/*ignore*/
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public interface DebugOptions {
* If debug is enabled then notifications will be sent to the
* listeners which have options that have been changed, added or removed.
* </p>
* @param options the new set of options
* @since 3.6
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ private int findOldestGeneration(String managedFile) {
int generation = Integer.parseInt(file.substring(len));
if (generation > oldestGeneration)
oldestGeneration = generation;
}catch (NumberFormatException e) {
} catch (NumberFormatException e) {
continue;
}
}
Expand Down

0 comments on commit fcbea47

Please sign in to comment.