mirror of
https://gitee.com/dcren/initializr.git
synced 2025-11-28 09:22:41 +08:00
Polish
This commit is contained in:
@@ -167,7 +167,7 @@ public class InitializrMetadata {
|
||||
&& !repositories.containsKey(dependency.getRepository())) {
|
||||
throw new InvalidInitializrMetadataException("Dependency " + dependency
|
||||
+ "defines an invalid repository id " + dependency.getRepository()
|
||||
+ ", available repositores " + repositories);
|
||||
+ ", available repositories " + repositories);
|
||||
}
|
||||
}
|
||||
for (BillOfMaterials bom : boms.values()) {
|
||||
@@ -190,7 +190,7 @@ public class InitializrMetadata {
|
||||
if (!repositories.containsKey(r)) {
|
||||
throw new InvalidInitializrMetadataException(
|
||||
m + " of " + bom + "defines an invalid repository id " + r
|
||||
+ ", available repositores " + repositories);
|
||||
+ ", available repositories " + repositories);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
public class VersionPropertyTests {
|
||||
|
||||
@Rule
|
||||
public ExpectedException thrown = ExpectedException.none();
|
||||
public final ExpectedException thrown = ExpectedException.none();
|
||||
|
||||
@Test
|
||||
public void testStandardProperty() {
|
||||
|
||||
Reference in New Issue
Block a user