Skip to content

Commit cceddb5

Browse files
author
Vincent Potucek
committed
run
1 parent 938b97c commit cceddb5

File tree

41 files changed

+88
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+88
-1
lines changed

core/launcher/src/main/java/io/quarkus/launcher/RuntimeLaunchClassLoader.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ private String getPackageNameFromClassName(String className) {
6565
return className.substring(0, index);
6666
}
6767

68+
@Override
6869
protected Class<?> findClass(String moduleName, String name) {
6970
try {
7071
return findClass(name);
@@ -73,6 +74,7 @@ protected Class<?> findClass(String moduleName, String name) {
7374
}
7475
}
7576

77+
@Override
7678
protected URL findResource(String moduleName, String name) throws IOException {
7779
return findResource(name);
7880
}

core/runtime/src/main/java/io/quarkus/runtime/Application.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ public final void start(String[] args) {
132132

133133
protected abstract void doStart(String[] args);
134134

135+
@Override
135136
public final void close() {
136137
try {
137138
stop();

core/runtime/src/main/java/io/quarkus/runtime/configuration/ArrayListFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public final class ArrayListFactory<T> implements IntFunction<ArrayList<T>> {
1212
private ArrayListFactory() {
1313
}
1414

15+
@Override
1516
public ArrayList<T> apply(final int value) {
1617
return new ArrayList<>(value);
1718
}

core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigurationException.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public ConfigurationException(Throwable cause) {
8686
configKeys = Collections.emptySet();
8787
}
8888

89+
@Override
8990
public Set<String> getConfigKeys() {
9091
return configKeys;
9192
}

core/runtime/src/main/java/io/quarkus/runtime/configuration/HashSetFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public final class HashSetFactory<T> implements IntFunction<HashSet<T>> {
1212
private HashSetFactory() {
1313
}
1414

15+
@Override
1516
public HashSet<T> apply(final int value) {
1617
return new HashSet<>(getInitialCapacityFromExpectedSize(value));
1718
}

core/runtime/src/main/java/io/quarkus/runtime/configuration/MemorySizeConverter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public class MemorySizeConverter implements Converter<MemorySize>, Serializable
4343
* @param value - value to convert.
4444
* @return {@link MemorySize} - a memory size represented by the given value
4545
*/
46+
@Override
4647
public MemorySize convert(String value) {
4748
value = value.trim();
4849
if (value.isEmpty()) {

core/runtime/src/main/java/io/quarkus/runtime/configuration/RegexConverter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public class RegexConverter implements Converter<Pattern>, Serializable {
2323
public RegexConverter() {
2424
}
2525

26+
@Override
2627
public Pattern convert(final String value) {
2728
return value.isEmpty() ? null : Pattern.compile(value);
2829
}

core/runtime/src/main/java/io/quarkus/runtime/logging/InheritableLevel.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ public static final class ActualLevel extends InheritableLevel {
4848
this.level = level;
4949
}
5050

51+
@Override
5152
public boolean isInherited() {
5253
return false;
5354
}
5455

56+
@Override
5557
public Level getLevel() {
5658
return level;
5759
}
@@ -60,6 +62,7 @@ public String toString() {
6062
return level.toString();
6163
}
6264

65+
@Override
6366
public boolean equals(final InheritableLevel other) {
6467
return other instanceof ActualLevel && level.equals(((ActualLevel) other).level);
6568
}
@@ -75,10 +78,12 @@ public static final class Inherited extends InheritableLevel {
7578
private Inherited() {
7679
}
7780

81+
@Override
7882
public boolean isInherited() {
7983
return true;
8084
}
8185

86+
@Override
8287
public Level getLevel() {
8388
throw new NoSuchElementException();
8489
}
@@ -87,6 +92,7 @@ public String toString() {
8792
return "inherited";
8893
}
8994

95+
@Override
9096
public boolean equals(final InheritableLevel other) {
9197
return other instanceof Inherited;
9298
}

core/runtime/src/main/java/io/quarkus/runtime/logging/LevelConverter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public final class LevelConverter implements Converter<Level>, Serializable {
1919

2020
private static final long serialVersionUID = 704275577610445233L;
2121

22+
@Override
2223
public Level convert(final String value) {
2324
if (value == null || value.isEmpty()) {
2425
return null;

core/runtime/src/main/java/io/quarkus/runtime/util/EnumerationUtil.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ class Adapter implements Enumeration<T>, Consumer<T> {
3535
boolean valueReady;
3636
T nextElement;
3737

38+
@Override
3839
public void accept(T t) {
3940
this.valueReady = true;
4041
this.nextElement = t;
4142
}
4243

44+
@Override
4345
public boolean hasMoreElements() {
4446
if (!this.valueReady) {
4547
spliterator.tryAdvance(this);
@@ -48,6 +50,7 @@ public boolean hasMoreElements() {
4850
return this.valueReady;
4951
}
5052

53+
@Override
5154
public T nextElement() {
5255
if (!this.valueReady && !this.hasMoreElements()) {
5356
throw new NoSuchElementException();

0 commit comments

Comments
 (0)