Skip to content

Commit cf83d3d

Browse files
vjkoskelaBrandonArp
authored andcommitted
Update author info. Removed inheritDoc javadoc. (#58)
1 parent 849e758 commit cf83d3d

File tree

140 files changed

+94
-1038
lines changed

Some content is hidden

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

140 files changed

+94
-1038
lines changed

.jdkw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
JDKW_VERSION=8u102
2-
JDKW_BUILD=b14
1+
JDKW_VERSION=8u112
2+
JDKW_BUILD=b15

CONTRIBUTORS.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

DEPENDENCIES.md

Lines changed: 0 additions & 66 deletions
This file was deleted.

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<parent>
1919
<groupId>com.arpnetworking.build</groupId>
2020
<artifactId>arpnetworking-parent-pom</artifactId>
21-
<version>1.0.27</version>
21+
<version>1.0.29</version>
2222
<relativePath />
2323
</parent>
2424

@@ -43,9 +43,9 @@
4343
<developer>
4444
<id>barp</id>
4545
<name>Brandon Arp</name>
46-
<email>brandonarp@gmail.com</email>
47-
<organization>ArpNetworking</organization>
48-
<organizationUrl>http://www.arpnetworking.com</organizationUrl>
46+
<email>brandon.arp@inscopemetrics.com</email>
47+
<organization>Inscope Metrics</organization>
48+
<organizationUrl>http://www.inscopemetrics.com</organizationUrl>
4949
<roles>
5050
<role>developer</role>
5151
</roles>

src/main/java/com/arpnetworking/configuration/BaseConfiguration.java

Lines changed: 0 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
*/
3232
public abstract class BaseConfiguration implements Configuration {
3333

34-
/**
35-
* {@inheritDoc}
36-
*/
3734
@Override
3835
public String getProperty(final String name, final String defaultValue) {
3936
final Optional<String> optional = getProperty(name);
@@ -43,9 +40,6 @@ public String getProperty(final String name, final String defaultValue) {
4340
return defaultValue;
4441
}
4542

46-
/**
47-
* {@inheritDoc}
48-
*/
4943
@Override
5044
public String getRequiredProperty(final String name) throws NoSuchElementException {
5145
final Optional<String> optional = getProperty(name);
@@ -56,181 +50,121 @@ public String getRequiredProperty(final String name) throws NoSuchElementExcepti
5650
String.format("Required configuration property does not exist; name=%s", name));
5751
}
5852

59-
/**
60-
* {@inheritDoc}
61-
*/
6253
@Override
6354
public Optional<Boolean> getPropertyAsBoolean(final String name) {
6455
final Optional<String> property = getProperty(name);
6556
return property.isPresent() ? Optional.of(Boolean.parseBoolean(property.get())) : Optional.<Boolean>empty();
6657
}
6758

68-
/**
69-
* {@inheritDoc}
70-
*/
7159
@Override
7260
public boolean getPropertyAsBoolean(final String name, final boolean defaultValue) {
7361
final Optional<Boolean> property = getPropertyAsBoolean(name);
7462
return property.orElse(defaultValue);
7563
}
7664

77-
/**
78-
* {@inheritDoc}
79-
*/
8065
@Override
8166
public boolean getRequiredPropertyAsBoolean(final String name) throws NoSuchElementException {
8267
final String property = getRequiredProperty(name);
8368
return Boolean.parseBoolean(property);
8469
}
8570

86-
/**
87-
* {@inheritDoc}
88-
*/
8971
@Override
9072
public Optional<Integer> getPropertyAsInteger(final String name) throws NumberFormatException {
9173
final Optional<String> property = getProperty(name);
9274
return property.isPresent() ? Optional.of(Integer.parseInt(property.get())) : Optional.<Integer>empty();
9375
}
9476

95-
/**
96-
* {@inheritDoc}
97-
*/
9877
@Override
9978
public int getPropertyAsInteger(final String name, final int defaultValue) throws NumberFormatException {
10079
final Optional<Integer> property = getPropertyAsInteger(name);
10180
return property.orElse(defaultValue);
10281
}
10382

104-
/**
105-
* {@inheritDoc}
106-
*/
10783
@Override
10884
public int getRequiredPropertyAsInteger(final String name) throws NoSuchElementException, NumberFormatException {
10985
final String property = getRequiredProperty(name);
11086
return Integer.parseInt(property);
11187
}
11288

113-
/**
114-
* {@inheritDoc}
115-
*/
11689
@Override
11790
public Optional<Long> getPropertyAsLong(final String name) throws NumberFormatException {
11891
final Optional<String> property = getProperty(name);
11992
return property.isPresent() ? Optional.of(Long.parseLong(property.get())) : Optional.<Long>empty();
12093
}
12194

122-
/**
123-
* {@inheritDoc}
124-
*/
12595
@Override
12696
public long getPropertyAsLong(final String name, final long defaultValue) throws NumberFormatException {
12797
final Optional<Long> property = getPropertyAsLong(name);
12898
return property.orElse(defaultValue);
12999
}
130100

131-
/**
132-
* {@inheritDoc}
133-
*/
134101
@Override
135102
public long getRequiredPropertyAsLong(final String name) throws NoSuchElementException, NumberFormatException {
136103
final String property = getRequiredProperty(name);
137104
return Long.parseLong(property);
138105
}
139106

140-
/**
141-
* {@inheritDoc}
142-
*/
143107
@Override
144108
public Optional<Double> getPropertyAsDouble(final String name) throws NumberFormatException {
145109
final Optional<String> property = getProperty(name);
146110
return property.isPresent() ? Optional.of(Double.parseDouble(property.get())) : Optional.<Double>empty();
147111
}
148112

149-
/**
150-
* {@inheritDoc}
151-
*/
152113
@Override
153114
public double getPropertyAsDouble(final String name, final double defaultValue) throws NumberFormatException {
154115
final Optional<Double> property = getPropertyAsDouble(name);
155116
return property.orElse(defaultValue);
156117
}
157118

158-
/**
159-
* {@inheritDoc}
160-
*/
161119
@Override
162120
public double getRequiredPropertyAsDouble(final String name) throws NoSuchElementException, NumberFormatException {
163121
final String property = getRequiredProperty(name);
164122
return Double.parseDouble(property);
165123
}
166124

167-
/**
168-
* {@inheritDoc}
169-
*/
170125
@Override
171126
public Optional<Float> getPropertyAsFloat(final String name) throws NumberFormatException {
172127
final Optional<String> property = getProperty(name);
173128
return property.isPresent() ? Optional.of(Float.parseFloat(property.get())) : Optional.<Float>empty();
174129
}
175130

176-
/**
177-
* {@inheritDoc}
178-
*/
179131
@Override
180132
public float getPropertyAsFloat(final String name, final float defaultValue) throws NumberFormatException {
181133
final Optional<Float> property = getPropertyAsFloat(name);
182134
return property.orElse(defaultValue);
183135
}
184136

185-
/**
186-
* {@inheritDoc}
187-
*/
188137
@Override
189138
public float getRequiredPropertyAsFloat(final String name) throws NoSuchElementException, NumberFormatException {
190139
final String property = getRequiredProperty(name);
191140
return Float.parseFloat(property);
192141
}
193142

194-
/**
195-
* {@inheritDoc}
196-
*/
197143
@Override
198144
public Optional<Short> getPropertyAsShort(final String name) throws NumberFormatException {
199145
final Optional<String> property = getProperty(name);
200146
return property.isPresent() ? Optional.of(Short.valueOf(property.get())) : Optional.<Short>empty();
201147
}
202148

203-
/**
204-
* {@inheritDoc}
205-
*/
206149
@Override
207150
public short getPropertyAsShort(final String name, final short defaultValue) throws NumberFormatException {
208151
final Optional<Short> property = getPropertyAsShort(name);
209152
return property.isPresent() ? property.get().shortValue() : defaultValue;
210153
}
211154

212-
/**
213-
* {@inheritDoc}
214-
*/
215155
@Override
216156
public short getRequiredPropertyAsShort(final String name) throws NoSuchElementException, NumberFormatException {
217157
final String property = getRequiredProperty(name);
218158
return Short.parseShort(property);
219159
}
220160

221-
/**
222-
* {@inheritDoc}
223-
*/
224161
@Override
225162
public <T> T getPropertyAs(final String name, final Class<? extends T> clazz, final T defaultValue)
226163
throws IllegalArgumentException {
227164
final Optional<T> property = getPropertyAs(name, clazz);
228165
return property.isPresent() ? property.get() : defaultValue;
229166
}
230167

231-
/**
232-
* {@inheritDoc}
233-
*/
234168
@Override
235169
public <T> T getRequiredPropertyAs(final String name, final Class<? extends T> clazz)
236170
throws NoSuchElementException, IllegalArgumentException {
@@ -242,18 +176,12 @@ public <T> T getRequiredPropertyAs(final String name, final Class<? extends T> c
242176
return property.get();
243177
}
244178

245-
/**
246-
* {@inheritDoc}
247-
*/
248179
@Override
249180
public <T> T getAs(final Class<? extends T> clazz, final T defaultValue) throws IllegalArgumentException {
250181
final Optional<T> property = getAs(clazz);
251182
return property.isPresent() ? property.get() : defaultValue;
252183
}
253184

254-
/**
255-
* {@inheritDoc}
256-
*/
257185
@Override
258186
public <T> T getRequiredAs(final Class<? extends T> clazz) throws NoSuchElementException, IllegalArgumentException {
259187
final Optional<T> property = getAs(clazz);
@@ -263,19 +191,13 @@ public <T> T getRequiredAs(final Class<? extends T> clazz) throws NoSuchElementE
263191
return property.get();
264192
}
265193

266-
/**
267-
* {@inheritDoc}
268-
*/
269194
@Override
270195
public <T> T getPropertyAs(final String name, final Type type, final T defaultValue)
271196
throws IllegalArgumentException {
272197
final Optional<T> property = getPropertyAs(name, type);
273198
return property.isPresent() ? property.get() : defaultValue;
274199
}
275200

276-
/**
277-
* {@inheritDoc}
278-
*/
279201
@Override
280202
public <T> T getRequiredPropertyAs(final String name, final Type type)
281203
throws NoSuchElementException, IllegalArgumentException {
@@ -287,18 +209,12 @@ public <T> T getRequiredPropertyAs(final String name, final Type type)
287209
return property.get();
288210
}
289211

290-
/**
291-
* {@inheritDoc}
292-
*/
293212
@Override
294213
public <T> T getAs(final Type type, final T defaultValue) throws IllegalArgumentException {
295214
final Optional<T> property = getAs(type);
296215
return property.isPresent() ? property.get() : defaultValue;
297216
}
298217

299-
/**
300-
* {@inheritDoc}
301-
*/
302218
@Override
303219
public <T> T getRequiredAs(final Type type) throws NoSuchElementException, IllegalArgumentException {
304220
final Optional<T> property = getAs(type);
@@ -318,9 +234,6 @@ public Object toLogValue() {
318234
return LogReferenceOnly.of(this);
319235
}
320236

321-
/**
322-
* {@inheritDoc}
323-
*/
324237
@Override
325238
public String toString() {
326239
return toLogValue().toString();

0 commit comments

Comments
 (0)