Skip to content

Commit e00bacf

Browse files
committed
1 parent d18989b commit e00bacf

8 files changed

Lines changed: 22 additions & 61 deletions

File tree

pom.xml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,6 @@
136136
<role>Expert</role>
137137
<role>Java Developer</role>
138138
</roles>
139-
</developer>
140-
<developer>
141-
<id>dan.leuck</id>
142-
<name>Daniel Leuck</name>
143-
<email>dan@ikayzo.com</email>
144-
<organization>Ikayzo</organization>
145-
<timezone>-9</timezone>
146-
<roles>
147-
<role>Expert</role>
148-
<role>Globalization Support</role>
149-
</roles>
150139
</developer>
151140
<developer>
152141
<id>christopher.senior</id>
@@ -160,6 +149,16 @@
160149
</developer>
161150
</developers>
162151
<contributors>
152+
<contributor>
153+
<!-- >id>dan.leuck</id -->
154+
<name>Daniel Leuck</name>
155+
<email>dan@ikayzo.com</email>
156+
<organization>Ikayzo</organization>
157+
<timezone>-9</timezone>
158+
<roles>
159+
<role>Globalization Support</role>
160+
</roles>
161+
</contributor>
163162
<contributor>
164163
<!-- id>eric-r</id -->
165164
<name>Eric Russell</name>

src/etc/unit-api-core install test-jar.launch

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,5 @@
1212
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
1313
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false"/>
1414
<stringAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_ENCODING" value="UTF-8"/>
15-
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
16-
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
17-
</listAttribute>
1815
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:/unit-api-core}"/>
1916
</launchConfiguration>

util/.classpath

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

util/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/target
22
/.settings
3+
/bin

util/src/main/java/javax/measure/util/MaximumSupplier.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
* whose functional method is {@link #getMaximum()}.
1818
*
1919
* @author Werner Keil
20-
* @version 0.2 ($Revision: 426 $), $Date: 2014-02-08 18:57:30 +0100 (Sa, 08 Feb 2014) $
20+
* @version 0.3, $Date: 2014-04-09 $
2121
* @param <T> the type of values supplied by this supplier
2222
*/
23-
@FunctionalInterface
23+
//@FunctionalInterface
2424
public interface MaximumSupplier<T> {
2525

2626
/**

util/src/main/java/javax/measure/util/MinimumSupplier.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
* whose functional method is {@link #getMinimum()}.
1818
*
1919
* @author Werner Keil
20-
* @version 0.2 ($Revision: 426 $), $Date: 2014-02-08 18:57:30 +0100 (Sa, 08 Feb 2014) $
20+
* @version 0.3, $Date: 2014-04-09 $
2121
* @param <T> the type of values supplied by this supplier
2222
*/
23-
@FunctionalInterface
23+
//@FunctionalInterface
2424
public interface MinimumSupplier<T> {
2525

2626
/**

util/src/main/java/javax/measure/util/Range.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* The value of the range.
1616
*
1717
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
18-
* @version 0.8.2 ($Revision: 441 $)
18+
* @version 0.8.3 ($Revision: 441 $)
1919
* @see <a href="http://www.botts-inc.com/SensorML_1.0.1/schemaBrowser/SensorML_QuantityRange.html"> SensorML:
2020
* QuantityRange</a>
2121
*/
@@ -109,7 +109,7 @@ public T getResolution() {
109109
* @return {@code true} if {@link #getMinimum()} is not {@code null}
110110
* .
111111
*/
112-
public boolean hasLowerBound() {
112+
public boolean hasMinimum() {
113113
return min != null;
114114
}
115115

@@ -119,7 +119,7 @@ public boolean hasLowerBound() {
119119
*
120120
* @return {@code true} if {@link #getMaximum()} is not {@code null}.
121121
*/
122-
public boolean hasUpperBound() {
122+
public boolean hasMaximum() {
123123
return max != null;
124124
}
125125

util/src/main/java/javax/measure/util/TimedData.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88
package javax.measure.util;
99

10-
import java.util.function.Supplier;
10+
//import java.util.function.Supplier;
1111

1212
import javax.measure.function.Nameable;
1313

@@ -18,11 +18,11 @@
1818
* The data value.
1919
*
2020
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
21-
* @version 0.2 ($Revision: 427 $)
21+
* @version 0.3 ($Revision: 428 $)
2222
* @see <a href="http://en.wikipedia.org/wiki/Time_series"> Wikipedia:
2323
* Time Series</a>
2424
*/
25-
public class TimedData<T> implements Nameable, Supplier<T> {
25+
public class TimedData<T> implements Nameable { //, Supplier<T> {
2626
// TODO we could use ValueSupplier instead?
2727
private final T value;
2828
private long timestamp;
@@ -65,7 +65,7 @@ public String getName() {
6565
return name;
6666
}
6767

68-
@Override
68+
// @Override
6969
public T get() {
7070
return value;
7171
}

0 commit comments

Comments
 (0)