Reformat code
This commit is contained in:
@@ -29,7 +29,7 @@ public class CustomCommandFactory implements CommandFactory {
|
||||
|
||||
@Override
|
||||
public Collection<Command> getCommands() {
|
||||
return Collections.<Command> singleton(new CustomCommand());
|
||||
return Collections.<Command>singleton(new CustomCommand());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -81,7 +81,8 @@ public class CliTester implements TestRule {
|
||||
try {
|
||||
this.commands.add(future.get(this.timeout, TimeUnit.MILLISECONDS));
|
||||
return getOutput();
|
||||
} catch (Exception ex) {
|
||||
}
|
||||
catch (Exception ex) {
|
||||
return getOutput();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ import static org.junit.Assert.assertEquals;
|
||||
public class ProjectGenerationRequestTests {
|
||||
|
||||
public static final Map<String, String> EMPTY_TAGS = Collections
|
||||
.<String, String> emptyMap();
|
||||
.<String, String>emptyMap();
|
||||
|
||||
@Rule
|
||||
public final ExpectedException thrown = ExpectedException.none();
|
||||
|
||||
Reference in New Issue
Block a user