mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Format some tests
This commit is contained in:
@@ -58,18 +58,18 @@ public class MybatisSqlInjectionService {
|
||||
|
||||
// using providers
|
||||
public String badSelect(String input) {
|
||||
return sqlInjectionMapper.badSelect(input);
|
||||
}
|
||||
return sqlInjectionMapper.badSelect(input);
|
||||
}
|
||||
|
||||
public void badDelete(String input) {
|
||||
sqlInjectionMapper.badDelete(input);
|
||||
}
|
||||
sqlInjectionMapper.badDelete(input);
|
||||
}
|
||||
|
||||
public void badUpdate(String input) {
|
||||
sqlInjectionMapper.badUpdate(input);
|
||||
}
|
||||
sqlInjectionMapper.badUpdate(input);
|
||||
}
|
||||
|
||||
public void badInsert(String input) {
|
||||
sqlInjectionMapper.badInsert(input);
|
||||
}
|
||||
sqlInjectionMapper.badInsert(input);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,21 +42,21 @@ public interface SqlInjectionMapper {
|
||||
)
|
||||
String badSelect(String input);
|
||||
|
||||
@DeleteProvider(
|
||||
type = MyBatisProvider.class,
|
||||
method = "badDelete"
|
||||
)
|
||||
void badDelete(String input);
|
||||
@DeleteProvider(
|
||||
type = MyBatisProvider.class,
|
||||
method = "badDelete"
|
||||
)
|
||||
void badDelete(String input);
|
||||
|
||||
@UpdateProvider(
|
||||
type = MyBatisProvider.class,
|
||||
method = "badUpdate"
|
||||
)
|
||||
void badUpdate(String input);
|
||||
@UpdateProvider(
|
||||
type = MyBatisProvider.class,
|
||||
method = "badUpdate"
|
||||
)
|
||||
void badUpdate(String input);
|
||||
|
||||
@InsertProvider(
|
||||
type = MyBatisProvider.class,
|
||||
method = "badInsert"
|
||||
)
|
||||
void badInsert(String input);
|
||||
@InsertProvider(
|
||||
type = MyBatisProvider.class,
|
||||
method = "badInsert"
|
||||
)
|
||||
void badInsert(String input);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user