git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checkstyle sweep
[fanfix.git]
/
src
/
jexer
/
TDirectoryList.java
diff --git
a/src/jexer/TDirectoryList.java
b/src/jexer/TDirectoryList.java
index 1b94a18d4b8aa20eef9ebb7ce4be7af7b2fba4aa..50cc88b7dfd969f4683cc5934e6e1b41914c0d37 100644
(file)
--- a/
src/jexer/TDirectoryList.java
+++ b/
src/jexer/TDirectoryList.java
@@
-64,7
+64,7
@@
public final class TDirectoryList extends TWidget {
*
* @param path new path to list files for
*/
*
* @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();
}
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
*/
* @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) {
File file = files.get(index);
String name = file.getName();
if (name.length() > 20) {