Summary: I can't even? Reviewed By: sblackshear Differential Revision: D5038485 fbshipit-source-id: aa10b3fmaster
parent
99552edd7b
commit
ebd5ec0013
@ -1,18 +0,0 @@
|
||||
# Copyright (c) 2017 - present Facebook, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD style license found in the
|
||||
# LICENSE file in the root directory of this source tree. An additional grant
|
||||
# of patent rights can be found in the PATENTS file in the same directory.
|
||||
|
||||
all:
|
||||
InferAnalyze --results-dir out -checkers
|
||||
|
||||
.PHONY: capture
|
||||
capture:
|
||||
InferCapture out javac *.java
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf out *.class
|
||||
|
@ -1,25 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
class Test {
|
||||
|
||||
public void select() {
|
||||
String a = "SELeCT id FROM ";
|
||||
String b = "table";
|
||||
String c = " WHERE something";
|
||||
String d = a + b + c;
|
||||
}
|
||||
|
||||
public void insert() {
|
||||
int id = 10;
|
||||
String a = "INSERT into table VALUES (1) WHERE id=";
|
||||
String q = a + Integer.toString(id);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in new issue