checkstyle sweep
[fanfix.git] / src / jexer / TDirectoryList.java
index 563d008eedb2b6dab5c7f3b9b998ab9e7fc77b93..50cc88b7dfd969f4683cc5934e6e1b41914c0d37 100644 (file)
@@ -1,4 +1,4 @@
-/**
+/*
  * Jexer - Java Text User Interface
  *
  * License: LGPLv3 or later
@@ -64,7 +64,7 @@ public final class TDirectoryList extends TWidget {
      *
      * @param path new path to list files for
      */
-    public void setPath(String path) {
+    public void setPath(final String path) {
         this.path = new File(path);
         reflow();
     }
@@ -115,7 +115,7 @@ public final class TDirectoryList extends TWidget {
      * @param index index into files
      * @return the line to draw
      */
-    private String renderFile(int index) {
+    private String renderFile(final int index) {
         File file = files.get(index);
         String name = file.getName();
         if (name.length() > 20) {