Changeset: c603e759f10f for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java/rev/c603e759f10f
Modified Files:
pom.xml
src/main/resources/org/monetdb/jdbc/MonetDriver.properties
src/test/java/org/monetdb/mcl/net/UrlTests.java
src/test/java/org/monetdb/testinfra/MonetVersionNumber.java
Branch: mvn
Log Message:
Comments, naming and whitespace
diffs (79 lines):
diff --git a/pom.xml b/pom.xml
--- a/pom.xml
+++ b/pom.xml
@@ -189,7 +189,7 @@
</executions>
</plugin>
- <!-- Generate a jar that includes all dependencies such as Junit.
+ <!-- Generate a tests jar that includes all dependencies such as
Junit.
The result gets a name like
monetdb-jdbc-12.1-SNAPSHOT-test-jar-with-deps.jar.
This can be changed by uncommenting the <finalName> and
<appendAssemblyId> settings
but that causes a warning that cannot be suppressed.
@@ -258,7 +258,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
- <id>attach-javadocs</id>
+ <id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
@@ -280,8 +280,6 @@
<include>**/*Tests.java</include>
<include>**/*TestCase.java</include>
</includes>
- <!-- skip the slow tests by default -->
- <groups>!slow</groups>
</configuration>
</plugin>
diff --git a/src/main/resources/org/monetdb/jdbc/MonetDriver.properties
b/src/main/resources/org/monetdb/jdbc/MonetDriver.properties
--- a/src/main/resources/org/monetdb/jdbc/MonetDriver.properties
+++ b/src/main/resources/org/monetdb/jdbc/MonetDriver.properties
@@ -1,1 +1,1 @@
-version=${project.version}
\ No newline at end of file
+version=${project.version}
diff --git a/src/test/java/org/monetdb/mcl/net/UrlTests.java
b/src/test/java/org/monetdb/mcl/net/UrlTests.java
--- a/src/test/java/org/monetdb/mcl/net/UrlTests.java
+++ b/src/test/java/org/monetdb/mcl/net/UrlTests.java
@@ -32,7 +32,7 @@ public class UrlTests {
int lineno = 0;
int startLine = -1;
String section = "";
- int testinSection = 0;
+ int nrInSection = 0;
while (true) {
String line = reader.readLine();
@@ -48,7 +48,7 @@ public class UrlTests {
if (!line.equals("```")) {
lines.add(line);
} else {
- String remark = !section.isEmpty() ? "
(Test " + ++testinSection + " of: " + section + ")" : "";
+ String remark = !section.isEmpty() ? "
(Test " + ++nrInSection + " of section '" + section + "')" : "";
ScriptRunner runner = new
ScriptRunner(source, startLine, remark, lines.toArray(new String[0]));
runners.add(runner);
startLine = -1;
@@ -62,7 +62,7 @@ public class UrlTests {
line = line.substring(1);
} while (line.startsWith("#"));
section = line.trim();
- testinSection = 0;
+ nrInSection = 0;
}
}
}
diff --git a/src/test/java/org/monetdb/testinfra/MonetVersionNumber.java
b/src/test/java/org/monetdb/testinfra/MonetVersionNumber.java
--- a/src/test/java/org/monetdb/testinfra/MonetVersionNumber.java
+++ b/src/test/java/org/monetdb/testinfra/MonetVersionNumber.java
@@ -17,7 +17,7 @@ import java.sql.SQLException;
import java.sql.Statement;
/**
- * Holds a three-
+ * Extract Monet version from a Monet connection and interpret it
*/
public class MonetVersionNumber {
public final int serverMajor;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]