Skip to content

Commit 84113fd

Browse files
committed
generic graph add method samll mistake fixed
1 parent 657e198 commit 84113fd

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed
0 Bytes
Binary file not shown.

nbproject/private/private.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
33
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
44
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
5-
<group>
6-
<file>file:/C:/Users/nisab/Desktop/Java/JavaApplication5/src/Queues/CircularQueue.java</file>
7-
</group>
5+
<group/>
86
</open-files>
97
</project-private>

src/Graphs/GraphGeneric.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public void addEdge(T start, T end) {
1616
map.put(start, new ArrayList<>());
1717
return;
1818
}
19-
if (end == null && start != null) {
19+
if (start == null && end != null) {
2020
map.put(end, new ArrayList<>());
2121
return;
2222
}

0 commit comments

Comments
 (0)