File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/main/java/pl/edu/icm/heap Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 6
6
! ** /src /test /** /build /
7
7
8
8
# ## IntelliJ IDEA ###
9
- .idea /modules.xml
10
- .idea /jarRepositories.xml
11
- .idea /compiler.xml
12
- .idea /libraries /
9
+ .idea /
13
10
* .iws
14
11
* .iml
15
12
* .ipr
42
39
# ## Mac OS ###
43
40
.DS_Store
44
41
# Cache of project
45
- .gradletasknamecache
42
+ .gradletasknamecache
Original file line number Diff line number Diff line change @@ -79,7 +79,9 @@ public static void main(String[] args) throws IOException {
79
79
if (line == null ) {
80
80
break ;
81
81
}
82
- sb = new StringBuilder (PROCESSING_BUFFER_KB * 1024 );//.delete(0, sb.length() - SHINGLETON_LENGTH + 1);
82
+ String lastChars = sb .substring (sb .length () - SHINGLETON_LENGTH + 1 );
83
+ sb = new StringBuilder (PROCESSING_BUFFER_KB * 1024 );
84
+ sb .append (lastChars );
83
85
}
84
86
input .readLine (); // skip line
85
87
input .readLine (); // skip line
You can’t perform that action at this time.
0 commit comments