Skip to content

Commit

Permalink
Increase version to 1.0.0; add xhtml namespace to stylesheet (AIS)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarstenWickner committed Sep 3, 2015
1 parent f6f74d6 commit b04932a
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 28 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.hmx</groupId>
<artifactId>scitos</artifactId>
<version>0.9.1</version>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>scitos</name>
<description>parent project of SciToS</description>
Expand All @@ -17,7 +17,7 @@
</modules>

<properties>
<scitos.version>0.9.1</scitos.version>
<scitos.version>1.0.0</scitos.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
Expand Down
2 changes: 1 addition & 1 deletion scitos.ais/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.hmx</groupId>
<artifactId>scitos</artifactId>
<version>0.9.1</version>
<version>1.0.0</version>
</parent>
<artifactId>scitos.ais</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion scitos.ais/scitos.ais.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.hmx</groupId>
<artifactId>scitos.ais</artifactId>
<version>0.9.1</version>
<version>1.0.0</version>
</parent>
<artifactId>scitos.ais.core</artifactId>
<name>scitos.ais.core</name>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
<xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="AisProject">
<html>
Expand Down
2 changes: 1 addition & 1 deletion scitos.ais/scitos.ais.domain/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.hmx</groupId>
<artifactId>scitos.ais</artifactId>
<version>0.9.1</version>
<version>1.0.0</version>
</parent>
<artifactId>scitos.ais.domain</artifactId>
<build>
Expand Down
2 changes: 1 addition & 1 deletion scitos.ais/scitos.ais.view/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.hmx</groupId>
<artifactId>scitos.ais</artifactId>
<version>0.9.1</version>
<version>1.0.0</version>
</parent>
<artifactId>scitos.ais.view</artifactId>
<name>scitos.ais.view</name>
Expand Down
2 changes: 1 addition & 1 deletion scitos.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.hmx</groupId>
<artifactId>scitos</artifactId>
<version>0.9.1</version>
<version>1.0.0</version>
</parent>
<artifactId>scitos.core</artifactId>
<name>scitos.core</name>
Expand Down
2 changes: 1 addition & 1 deletion scitos.distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.hmx</groupId>
<artifactId>scitos</artifactId>
<version>0.9.1</version>
<version>1.0.0</version>
</parent>
<artifactId>scitos.distribution</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion scitos.domain/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.hmx</groupId>
<artifactId>scitos</artifactId>
<version>0.9.1</version>
<version>1.0.0</version>
</parent>
<artifactId>scitos.domain</artifactId>
<name>scitos.domain</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,7 @@ public static <T extends Comparable<T>> int compareNullAware(final T targetOne,
* @return if the given collection contains the given instance (not just an equal object)
*/
public static <T> boolean containsInstance(final Collection<? extends T> collection, final T instance) {
if (collection == null || collection.isEmpty()) {
return false;
}
for (final T collectionElement : collection) {
if (collectionElement == instance) {
return true;
}
}
return false;
return -1 != ComparisonUtil.indexOfInstance(collection, instance);
}

/**
Expand All @@ -145,15 +137,14 @@ public static <T> boolean containsInstance(final Collection<? extends T> collect
* @return position of the given instance in the collection (not just of an equal object)
*/
public static <T> int indexOfInstance(final Collection<? extends T> collection, final T instance) {
if (collection == null || collection.isEmpty()) {
return -1;
}
int index = 0;
for (final T collectionElement : collection) {
if (collectionElement == instance) {
return index;
if (collection != null && !collection.isEmpty()) {
int index = 0;
for (final T collectionElement : collection) {
if (collectionElement == instance) {
return index;
}
index++;
}
index++;
}
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion scitos.view/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.hmx</groupId>
<artifactId>scitos</artifactId>
<version>0.9.1</version>
<version>1.0.0</version>
</parent>
<artifactId>scitos.view</artifactId>
<name>scitos.view</name>
Expand Down

0 comments on commit b04932a

Please sign in to comment.