Skip to content

Commit

Permalink
Fix unchecked conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tdrwenski committed May 3, 2024
1 parent ac29bd7 commit 0cbe667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tds/src/main/java/thredds/servlet/ServletUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,8 @@ public static void forwardToCatalogServices(HttpServletRequest req, HttpServletR
static public void showSystemProperties(PrintStream out) {

Properties sysp = System.getProperties();
Enumeration e = sysp.propertyNames();
List<String> list = Collections.list(e);
Set<String> propertyNames = sysp.stringPropertyNames();
List<String> list = new ArrayList<>(propertyNames);
Collections.sort(list);

out.println("System Properties:");
Expand Down

0 comments on commit 0cbe667

Please sign in to comment.