File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
java/ql/test/utils/model-generator Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 2
2
| p;Sources;true;socketStream;();;ReturnValue;remote |
3
3
| p;Sources;true;sourceToParameter;(InputStream[],List);;Argument[0].ArrayElement;remote |
4
4
| p;Sources;true;sourceToParameter;(InputStream[],List);;Argument[1].Element;remote |
5
+ | p;Sources;true;wrappedSocketStream;();;ReturnValue;remote |
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ public InputStream socketStream() throws IOException {
19
19
return socket .accept ().getInputStream ();
20
20
}
21
21
22
+ public InputStream wrappedSocketStream () throws IOException {
23
+ return socketStream ();
24
+ }
25
+
22
26
public void sourceToParameter (InputStream [] streams , List <InputStream > otherStreams ) throws IOException {
23
27
ServerSocket socket = new ServerSocket (123 );
24
28
streams [0 ] = socket .accept ().getInputStream ();
You can’t perform that action at this time.
0 commit comments