File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/ql/test/ext/TestModels Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ public void test() throws Exception {
171171 AssertionError assertErr = new AssertionError (source ());
172172 sink ((String )assertErr .getMessage ()); // $hasValueFlow
173173
174- sink (Test .class .cast (source ())); // $hasTaintFlow
174+ sink (Test .class .cast (source ())); // $hasValueFlow
175175
176176 Exception excep1 = new Exception ((String )source (), (Throwable )source ());
177177 sink ((String )excep1 .getMessage ()); // $hasValueFlow
@@ -181,7 +181,7 @@ public void test() throws Exception {
181181 sink ((String )excep2 .getMessage ()); // $hasValueFlow
182182
183183 StringBuilder sb = (StringBuilder )source ();
184- sink (sb .delete (0 , 1 )); // $hasTaintFlow
184+ sink (sb .delete (0 , 1 )); // $hasValueFlow
185185
186186 Thread thread1 = new Thread ((Runnable )source ());
187187 sink (thread1 ); // $hasTaintFlow
You can’t perform that action at this time.
0 commit comments