Punkt vor Strich Regel implementiert

This commit is contained in:
2021-04-17 20:19:53 +02:00
parent cf554d7852
commit fe5920fc36
2 changed files with 34 additions and 6 deletions

View File

@@ -330,7 +330,7 @@ public class List<ContentType> {
* pNode == null ist, pNode nicht in der Liste ist oder pNode der erste Knoten
* der Liste ist
*/
private ListNode getPrevious(ListNode pNode) {
public ListNode getPrevious(ListNode pNode) {
if (pNode != null && pNode != first && !this.isEmpty()) {
ListNode temp = first;
while (temp != null && temp.getNextNode() != pNode) {
@@ -341,5 +341,4 @@ public class List<ContentType> {
return null;
}
}
}