You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by an...@apache.org on 2018/11/19 22:55:06 UTC
[1/3] incubator-tamaya git commit: TAMAYA-361 Remove useless findbugs
dep.
Repository: incubator-tamaya
Updated Branches:
refs/heads/master 8745dd246 -> 54d50a89a
TAMAYA-361 Remove useless findbugs dep.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/b2ad0d80
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/b2ad0d80
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/b2ad0d80
Branch: refs/heads/master
Commit: b2ad0d80ac2363e5b7c55578118e2241a46c16a6
Parents: 8745dd2
Author: Anatole Tresch <at...@gmail.com>
Authored: Mon Nov 19 23:41:31 2018 +0100
Committer: Anatole Tresch <at...@gmail.com>
Committed: Mon Nov 19 23:41:31 2018 +0100
----------------------------------------------------------------------
pom.xml | 6 ------
1 file changed, 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/b2ad0d80/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4867d54..e882d25 100644
--- a/pom.xml
+++ b/pom.xml
@@ -235,12 +235,6 @@
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
- <!-- quality gates -->
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <version>${findbugs.version}</version>
- </dependency>
<!-- JSON Specs -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
[2/3] incubator-tamaya git commit: Fixed test.
Posted by an...@apache.org.
Fixed test.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/8accb1d1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/8accb1d1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/8accb1d1
Branch: refs/heads/master
Commit: 8accb1d1f44cb70740c2a23d6dfe7785306ffb10
Parents: b2ad0d8
Author: Anatole Tresch <at...@gmail.com>
Authored: Mon Nov 19 23:48:20 2018 +0100
Committer: Anatole Tresch <at...@gmail.com>
Committed: Mon Nov 19 23:48:20 2018 +0100
----------------------------------------------------------------------
.../src/test/java/org/apache/tamaya/core/ConfigurationTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/8accb1d1/code/core/src/test/java/org/apache/tamaya/core/ConfigurationTest.java
----------------------------------------------------------------------
diff --git a/code/core/src/test/java/org/apache/tamaya/core/ConfigurationTest.java b/code/core/src/test/java/org/apache/tamaya/core/ConfigurationTest.java
index c5f48b0..f8de24a 100644
--- a/code/core/src/test/java/org/apache/tamaya/core/ConfigurationTest.java
+++ b/code/core/src/test/java/org/apache/tamaya/core/ConfigurationTest.java
@@ -49,7 +49,7 @@ public class ConfigurationTest {
assertThat(current().get("name")).isEqualTo("Robin");
assertThat(current().get("name2")).isEqualTo("Sabine"); // from default
assertThat(current().get("name3")).isEqualTo("Mapped to name: Robin"); // overridden default, mapped by filter to name property
- assertThat(value4).isEqualTo("Sereina(filtered1)(filtered2)(filtered3)(filtered4)(filtered5)(filtered6)(filtered7)(filtered8)(filtered9)(filtered10)"); // final only
+ assertThat(value4).startsWith("Sereina(filtered1)(filtered2)(filtered3)(filtered4)(filtered5)(filtered6)(filtered7)(filtered8)(filtered9)(filtered10)"); // final only
assertThat(current().get("name5")).isNull(); // final only, but removed from filter
}
}
[3/3] incubator-tamaya git commit: Fixed issue,
where default keys of a property source snapshot does not container
any keys.
Posted by an...@apache.org.
Fixed issue, where default keys of a property source snapshot does not container any keys.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/54d50a89
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/54d50a89
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/54d50a89
Branch: refs/heads/master
Commit: 54d50a89aad87adf53f73a993cce752a3d27c8b3
Parents: 8accb1d
Author: Anatole Tresch <at...@gmail.com>
Authored: Mon Nov 19 23:54:08 2018 +0100
Committer: Anatole Tresch <at...@gmail.com>
Committed: Mon Nov 19 23:54:08 2018 +0100
----------------------------------------------------------------------
.../apache/tamaya/spisupport/DefaultPropertySourceSnapshot.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/54d50a89/code/spi-support/src/main/java/org/apache/tamaya/spisupport/DefaultPropertySourceSnapshot.java
----------------------------------------------------------------------
diff --git a/code/spi-support/src/main/java/org/apache/tamaya/spisupport/DefaultPropertySourceSnapshot.java b/code/spi-support/src/main/java/org/apache/tamaya/spisupport/DefaultPropertySourceSnapshot.java
index 7c14f5a..a18a53c 100644
--- a/code/spi-support/src/main/java/org/apache/tamaya/spisupport/DefaultPropertySourceSnapshot.java
+++ b/code/spi-support/src/main/java/org/apache/tamaya/spisupport/DefaultPropertySourceSnapshot.java
@@ -72,7 +72,7 @@ public class DefaultPropertySourceSnapshot implements PropertySource, Serializab
this.keys.add(k);
}
if(this.keys.isEmpty()){
- this.keys.addAll(getProperties().keySet());
+ this.keys.addAll(propertySource.getProperties().keySet());
}
this.keys = Collections.unmodifiableSet(this.keys);
this.ordinal = PropertySourceComparator.getOrdinal(propertySource);