Skip to content

Commit b7daa4d

Browse files
authored
Merge pull request #54 from jericks/travisci_trusty_java8
Update travisci to java 8 and trusty
2 parents 9af3c82 + 9461b33 commit b7daa4d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
dist: trusty
2+
13
language: java
24

35
jdk:
4-
- openjdk7
5-
6+
- oraclejdk8

src/main/java/org/geoscript/js/geom/Bounds.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public Bounds(Scriptable scope, NativeArray array) {
143143
/**
144144
* Constructor from ReferencedEnvelope.
145145
* @param scope
146-
* @param crs
146+
* @param refEnv
147147
*/
148148
public Bounds(Scriptable scope, ReferencedEnvelope refEnv) {
149149
this.setParentScope(scope);
@@ -291,9 +291,9 @@ public NativeArray toArray() {
291291
Scriptable scope = getParentScope();
292292
return (NativeArray) cx.newArray(scope, new Object[] {getMinX(), getMinY(), getMaxX(), getMaxY()});
293293
}
294-
295-
@JSFunction
296-
public Bounds clone() {
294+
295+
@JSFunction("clone")
296+
public Bounds cloner() {
297297
ReferencedEnvelope clone = new ReferencedEnvelope(refEnv);
298298
return new Bounds(getParentScope(), clone);
299299
}

0 commit comments

Comments
 (0)