Skip to content

Commit 86477a2

Browse files
committed
changes based on review
1 parent 0260925 commit 86477a2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

javascript/ql/src/semmle/javascript/frameworks/SocketIO.qll

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ module SocketIO {
2929
*/
3030
abstract private class SocketIOObject extends DataFlow::SourceNode, EventEmitter::Range {
3131
/**
32-
* Gets a node that refers to a SocketIOObject object.
32+
* Gets a node that refers to this SocketIOObject object.
3333
*/
3434
abstract DataFlow::SourceNode ref();
3535

36-
/** Gets namespace belonging to this object. */
36+
/** Gets the namespace belonging to this object. */
3737
abstract NamespaceObject getNamespace();
3838
}
3939

@@ -138,7 +138,6 @@ module SocketIO {
138138
)
139139
}
140140

141-
/** Gets the namespace to which this object refers. */
142141
override NamespaceObject getNamespace() { result = ns }
143142

144143
/**
@@ -197,7 +196,6 @@ module SocketIO {
197196
)
198197
}
199198

200-
/** Gets the namespace to which this socket belongs. */
201199
override NamespaceObject getNamespace() { result = ns }
202200

203201
private DataFlow::SourceNode socket(DataFlow::TypeTracker t) {

0 commit comments

Comments
 (0)