Permalink
Browse files

indexOf visszatérési érték javítása

  • Loading branch information...
1 parent 8092f1f commit 5955963046e4ab03d2c42342bc9d3370da4f5305 @MrAnno MrAnno committed Oct 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 03-alapozas/03-alapozas.md
@@ -148,7 +148,7 @@ akkor az eredmény egy `NullPointerException` lesz.
boolean isExecutable = s.endsWith(".exe");
boolean isEmpty = s.isEmpty();
- boolean aidx = s.indexOf('a');
+ int aidx = s.indexOf('a');
boolean hasEM = s.contains('!');
String upper = s.toUpperCase();

0 comments on commit 5955963

Please sign in to comment.