Merge branch 'master' of mojotrollz.eu:college
This commit is contained in:
commit
c6b43ba3cd
3
.gitignore
vendored
3
.gitignore
vendored
@ -45,7 +45,7 @@ literature/Galileo Computing - Java ist auch eine Insel 10 Auflage/bilder/.picas
|
||||
ws2011/CE/Klausurvorbereitung/.picasa.ini
|
||||
|
||||
ss2012/AlgoAnim/.DS_Store
|
||||
|
||||
ws2012/P2P/uebungen/2/p2p_ex2/bin/
|
||||
ss2012/AlgoAnim/Teil 1/.DS_Store
|
||||
|
||||
ss2012/AlgoAnim/Teil 2/.DS_Store
|
||||
@ -65,3 +65,4 @@ ss2012/IT Sicherheit/SS11/.DS_Store
|
||||
ss2012/Mathe III/.DS_Store
|
||||
|
||||
.DS_Store
|
||||
|
||||
|
||||
@ -31,13 +31,22 @@ class BufferedNetworkStack {
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
boolean flag = false;
|
||||
StringBuilder result = new StringBuilder(16);
|
||||
for (String s : cunks) {
|
||||
if (!s.isEmpty()) {
|
||||
result.append(s);
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Add a flag, if the element is incomplete
|
||||
if (flag) {
|
||||
result.append(" (Incomplete)");
|
||||
}
|
||||
|
||||
return result.toString();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user