This is an automated email from the ASF dual-hosted git repository.
anatole pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tamaya.git
The following commit(s) were added to refs/heads/master by this push:
new 8a56425 Fixed documentation issues (replaced createValue with value
where approproate).
8a56425 is described below
commit 8a564251436901f649ae84f014ddd137fe08cb89
Author: Anatole Tresch <[email protected]>
AuthorDate: Mon Dec 17 00:55:29 2018 +0100
Fixed documentation issues (replaced createValue with value where
approproate).
---
.../main/java/org/apache/tamaya/Configuration.java | 32 +++++++++++-----------
.../apache/tamaya/spi/ConfigurationBuilder.java | 4 +--
.../java/org/apache/tamaya/spi/FilterContext.java | 2 +-
.../java/org/apache/tamaya/spi/ObjectValue.java | 28 +++++++++----------
.../org/apache/tamaya/spi/PropertyConverter.java | 4 +--
.../java/org/apache/tamaya/spi/PropertyFilter.java | 2 +-
.../java/org/apache/tamaya/spi/PropertySource.java | 12 ++++----
.../java/org/apache/tamaya/spi/PropertyValue.java | 2 +-
.../apache/tamaya/spi/PropertyValueBuilder.java | 20 +++++++-------
.../java/org/apache/tamaya/spi/ServiceContext.java | 6 +---
.../java/org/apache/tamaya/TestConfiguration.java | 2 +-
.../org/apache/tamaya/spi/FilterContextTest.java | 6 ++--
.../tamaya/spi/PropertyValueBuilderTest.java | 8 +++---
13 files changed, 62 insertions(+), 66 deletions(-)
diff --git a/code/api/src/main/java/org/apache/tamaya/Configuration.java
b/code/api/src/main/java/org/apache/tamaya/Configuration.java
index 61c8c01..9d62652 100644
--- a/code/api/src/main/java/org/apache/tamaya/Configuration.java
+++ b/code/api/src/main/java/org/apache/tamaya/Configuration.java
@@ -56,7 +56,7 @@ public interface Configuration {
* Access a property.
*
* @param key the property's key, not {@code null}.
- * @return the property's createValue.
+ * @return the property's value.
*/
default String get(String key){
return get(key, TypeLiteral.of(String.class));
@@ -66,7 +66,7 @@ public interface Configuration {
* Access a property.
*
* @param keys the property's keys, in order of evaluation, not {@code
null}.
- * @return the property's createValue.
+ * @return the property's value.
*/
default String get(Iterable<String> keys){
return get(keys, TypeLiteral.of(String.class));
@@ -76,7 +76,7 @@ public interface Configuration {
* Access a property.
*
* @param key the property's key, not {@code null}.
- * @param defaultValue createValue to be returned, if no createValue is
present, not {@code null}
+ * @param defaultValue value to be returned, if no value is present, not
{@code null}
* @return the property's keys.
*/
default String getOrDefault(String key, String defaultValue){
@@ -87,7 +87,7 @@ public interface Configuration {
* Access a property.
*
* @param keys the property's keys, in order of evaluation, not {@code
null}.
- * @param defaultValue createValue to be returned, if no createValue is
present, not {@code null}
+ * @param defaultValue value to be returned, if no value is present, not
{@code null}
* @return the property's keys.
*/
default String getOrDefault(Iterable<String> keys, String defaultValue){
@@ -171,8 +171,8 @@ public interface Configuration {
* @param key the property's absolute, or relative path, e.g.
{@code
* a/b/c/d.myProperty}, not {@code null}.
* @param type The target type required, not {@code null}.
- * @param defaultValue createValue to be used, if no createValue is
present, not {@code null}
- * @return the property createValue, never {@code null}.
+ * @param defaultValue value to be used, if no value is present, not
{@code null}
+ * @return the property value, never {@code null}.
* @throws ConfigException if the keys could not be converted to the
required target type.
*/
default <T> T getOrDefault(String key, Class<T> type, T defaultValue){
@@ -187,8 +187,8 @@ public interface Configuration {
* @param <T> the type of the class modeled by the type parameter
* @param keys the property's keys, in evaluation order, not {@code null}.
* @param type The target type required, not {@code null}.
- * @param defaultValue createValue to be used, if no createValue is
present, not {@code null}
- * @return the property createValue, never {@code null}.
+ * @param defaultValue value to be used, if no value is present, not
{@code null}
+ * @return the property value, never {@code null}.
* @throws ConfigException if the keys could not be converted to the
required target type.
*/
default <T> T getOrDefault(Iterable<String> keys, Class<T> type, T
defaultValue){
@@ -204,7 +204,7 @@ public interface Configuration {
* @param key the property's absolute, or relative path, e.g.
@code
* a/b/c/d.myProperty}.
* @param type The target type required, not {@code null}.
- * @return the property createValue, never {@code null}.
+ * @return the property value, never {@code null}.
* @throws ConfigException if the keys could not be converted to the
required target type.
*/
default <T> T get(String key, Class<T> type){
@@ -219,7 +219,7 @@ public interface Configuration {
* @param <T> the type of the class modeled by the type parameter
* @param keys the property's keys, in evaluation order, not {@code null}.
* @param type The target type required, not {@code null}.
- * @return the property createValue, never {@code null}.
+ * @return the property value, never {@code null}.
* @throws ConfigException if the keys could not be converted to the
required target type.
*/
default <T> T get(Iterable<String> keys, Class<T> type){
@@ -237,7 +237,7 @@ public interface Configuration {
* @param key the property's absolute, or relative path, e.g.
@code
* a/b/c/d.myProperty}, not {@code null}.
* @param type The target type required, not {@code null}.
- * @return the property createValue, never {@code null}.
+ * @return the property value, never {@code null}.
* @throws ConfigException if the keys could not be converted to the
required target type.
*/
<T> T get(String key, TypeLiteral<T> type);
@@ -250,7 +250,7 @@ public interface Configuration {
* @param <T> the type of the type literal
* @param keys the property's keys, in evaluation order, not {@code null}.
* @param type The target type required, not {@code null}.
- * @return the property createValue, never {@code null}.
+ * @return the property value, never {@code null}.
* @throws ConfigException if the keys could not be converted to the
required target type.
*/
default <T> T get(Iterable<String> keys, TypeLiteral<T> type){
@@ -272,8 +272,8 @@ public interface Configuration {
* @param key the property's absolute, or relative path, e.g.
* {@code a/b/c/d.myProperty}, not {@code null}.
* @param type The target type required, not {@code null}.
- * @param defaultValue default createValue to be used, if no createValue
is present.
- * @return the property createValue, never null.
+ * @param defaultValue default value to be used, if no value is present.
+ * @return the property value, never null.
* @throws ConfigException if the keys could not be converted to the
required target type.
*/
<T> T getOrDefault(String key, TypeLiteral<T> type, T defaultValue);
@@ -286,8 +286,8 @@ public interface Configuration {
* @param <T> the type of the type literal
* @param keys the property's keys, in evaluation order, not {@code null}.
* @param type The target type required, not {@code null}.
- * @param defaultValue default createValue to be used, if no createValue
is present.
- * @return the property createValue, never null.
+ * @param defaultValue default value to be used, if no value is present.
+ * @return the property value, never null.
* @throws ConfigException if the keys could not be converted to the
required target type.
*/
default <T> T getOrDefault(Iterable<String> keys, TypeLiteral<T> type, T
defaultValue){
diff --git
a/code/api/src/main/java/org/apache/tamaya/spi/ConfigurationBuilder.java
b/code/api/src/main/java/org/apache/tamaya/spi/ConfigurationBuilder.java
index 0e2d95f..ac19542 100644
--- a/code/api/src/main/java/org/apache/tamaya/spi/ConfigurationBuilder.java
+++ b/code/api/src/main/java/org/apache/tamaya/spi/ConfigurationBuilder.java
@@ -91,7 +91,7 @@ public interface ConfigurationBuilder {
/**
* This method can be used for adding {@link PropertySource}s.
* Hereby the property source is added to the tail of property sources with
- * lowest priority regardless of its current ordinal createValue. To sort
the property
+ * lowest priority regardless of its current ordinal value. To sort the
property
* sources based on their ordinals call {@link #sortPropertySources}.
*
* @param propertySources the {@link PropertySource}s to add
@@ -124,7 +124,7 @@ public interface ConfigurationBuilder {
/**
* This method can be used for programmatically adding {@link
PropertySource}s.
* Hereby the property source is added to the tail of property sources with
- * lowest priority regardless of its current ordinal createValue. To sort
the property
+ * lowest priority regardless of its current ordinal value. To sort the
property
* sources based on their ordinals call {@link #sortPropertySources}.
*
* @param propertySources the {@link PropertySource}s to add
diff --git a/code/api/src/main/java/org/apache/tamaya/spi/FilterContext.java
b/code/api/src/main/java/org/apache/tamaya/spi/FilterContext.java
index cdf8652..db4fd73 100644
--- a/code/api/src/main/java/org/apache/tamaya/spi/FilterContext.java
+++ b/code/api/src/main/java/org/apache/tamaya/spi/FilterContext.java
@@ -158,7 +158,7 @@ public class FilterContext {
@Override
public String toString() {
- return "FilterContext{createValue='" + values + "', configEntries=" +
configEntries.keySet() + '}';
+ return "FilterContext{value='" + values + "', configEntries=" +
configEntries.keySet() + '}';
}
}
diff --git a/code/api/src/main/java/org/apache/tamaya/spi/ObjectValue.java
b/code/api/src/main/java/org/apache/tamaya/spi/ObjectValue.java
index 342937e..1274a91 100644
--- a/code/api/src/main/java/org/apache/tamaya/spi/ObjectValue.java
+++ b/code/api/src/main/java/org/apache/tamaya/spi/ObjectValue.java
@@ -25,9 +25,9 @@ import java.util.logging.Logger;
import java.util.stream.Collectors;
/**
- * Class modelling the result of a request for a property createValue. A
property createValue is basically identified by its key.
- * There might be reasons, where one want to further analyze, which
PropertySources provided a createValue and which not, so
- * it is possible to createObject a PropertyValue with a null createValue.
+ * Class modelling the result of a request for a property value. A property
value is basically identified by its key.
+ * There might be reasons, where one want to further analyze, which
PropertySources provided a value and which not, so
+ * it is possible to createObject a PropertyValue with a null value.
*
* A PropertyValue represents an abstract data point in a configuration
structure read. PropertyValues actually
* represent a tree, with additional functionality for representing data
lists/arrays using indexed children
@@ -54,8 +54,8 @@ public final class ObjectValue extends PropertyValue{
}
/**
- * Get the item's current createValue type.
- * @return the createValue type, never null.
+ * Get the item's current value type.
+ * @return the value type, never null.
*/
public ValueType getValueType() {
return ValueType.MAP;
@@ -111,8 +111,8 @@ public final class ObjectValue extends PropertyValue{
}
/**
- * Get the createValue's number of elements.
- * @return the getNumChilds of this multi createValue.
+ * Get the value's number of elements.
+ * @return the getNumChilds of this multi value.
*/
@Override
public int getSize() {
@@ -170,9 +170,9 @@ public final class ObjectValue extends PropertyValue{
/**
* Adds another existing node, hereby setting the corresponding parent
node.
- * @param value the createValue, not null
+ * @param value the value, not null
* @param <T> the value type.
- * @return the createValue added, not null.
+ * @return the value added, not null.
* @throws IllegalStateException if the instance is immutable.
* @see #isImmutable()
*/
@@ -215,7 +215,7 @@ public final class ObjectValue extends PropertyValue{
* Adds a new child getValue, where the getValue is given in '.'-separated
property notation,
* e.g. {@code a.b.c}.
* @param key the property key, e.g. {@code a.b.c}
- * @param value the property createValue
+ * @param value the property value
* @return the new leaf-getValue created.
* @throws IllegalStateException if the instance is immutable.
* @see #isImmutable()
@@ -239,7 +239,7 @@ public final class ObjectValue extends PropertyValue{
* Adds multiple values, where the keys are given in '.'-separated
property notation,
* e.g. {@code a.b.c}.
* @param values the values, not null.
- * @return the createValue instances created.
+ * @return the value instances created.
* @throws IllegalStateException if the instance is immutable.
* @see #isImmutable()
*/
@@ -275,8 +275,8 @@ public final class ObjectValue extends PropertyValue{
/**
- * Clones this instance and all it's children, marking as mutable
createValue.
- * @return the new createValue clone.
+ * Clones this instance and all it's children, marking as mutable value.
+ * @return the new value clone.
*/
@Override
public ObjectValue mutable(){
@@ -313,7 +313,7 @@ public final class ObjectValue extends PropertyValue{
public String toString() {
return "PropertyValue[MAP]{" +
'\'' +getQualifiedKey() + '\'' +
- (getValue()!=null?", createValue='" + getValue() + '\'':"") +
+ (getValue()!=null?", value='" + getValue() + '\'':"") +
", size='" + getSize() + '\'' +
(getMeta().isEmpty()?"":", metaData=" + getMeta()) +
'}';
diff --git
a/code/api/src/main/java/org/apache/tamaya/spi/PropertyConverter.java
b/code/api/src/main/java/org/apache/tamaya/spi/PropertyConverter.java
index 187724e..98b11a9 100644
--- a/code/api/src/main/java/org/apache/tamaya/spi/PropertyConverter.java
+++ b/code/api/src/main/java/org/apache/tamaya/spi/PropertyConverter.java
@@ -23,7 +23,7 @@ import java.util.List;
/**
* Interface for an property that converts a configured String into something
else.
* This is used for implementing type conversion from a property (String) to a
certain target
- * type. Hereby the target type can be multi-createValue (e.g. collections) or
complex if needed.
+ * type. Hereby the target type can be multi-value (e.g. collections) or
complex if needed.
*
* @param <T> the type of the type literal
*/
@@ -39,7 +39,7 @@ public interface PropertyConverter<T>{
*
* @param value configuration key that needs to be converted
* @param context the converter context, not null.
- * @return the converted createValue
+ * @return the converted value
* @see ConversionContext
*/
T convert(String value, ConversionContext context);
diff --git a/code/api/src/main/java/org/apache/tamaya/spi/PropertyFilter.java
b/code/api/src/main/java/org/apache/tamaya/spi/PropertyFilter.java
index 8ea422c..376f686 100644
--- a/code/api/src/main/java/org/apache/tamaya/spi/PropertyFilter.java
+++ b/code/api/src/main/java/org/apache/tamaya/spi/PropertyFilter.java
@@ -42,7 +42,7 @@ public interface PropertyFilter{
* </ul>
* @param value the value to be filtered, which also can be {@code null}
if removed by another filter.
* @param context the filter context, not null.
- * @return the filtered createValue, or {@code null} if the createValue
should be removed alltogether.
+ * @return the filtered value, or {@code null} if the value should be
removed alltogether.
* @see PropertyValue
* @see FilterContext
*/
diff --git a/code/api/src/main/java/org/apache/tamaya/spi/PropertySource.java
b/code/api/src/main/java/org/apache/tamaya/spi/PropertySource.java
index 57da8a1..8ea4801 100644
--- a/code/api/src/main/java/org/apache/tamaya/spi/PropertySource.java
+++ b/code/api/src/main/java/org/apache/tamaya/spi/PropertySource.java
@@ -89,7 +89,7 @@ public interface PropertySource{
/**
- * The ordinal createValue is the default ordering parameter which
definines the default order of
+ * The ordinal value is the default ordering parameter which definines the
default order of
* auto-discovered property sources. Ordering of property sources is
important since values
* from property sources with higher ordinal values override values from
less significant
* property sources.
@@ -104,10 +104,10 @@ public interface PropertySource{
*
* <p><b>Important Hints for custom implementations</b>:</p>
* <p>
- * If a custom implementation should be invoked <b>before</b> the default
implementations, use a createValue > 1000
+ * If a custom implementation should be invoked <b>before</b> the default
implementations, use a value > 1000
* </p>
* <p>
- * If a custom implementation should be invoked <b>after</b> the default
implementations, use a createValue < 100
+ * If a custom implementation should be invoked <b>after</b> the default
implementations, use a value < 100
* </p>
*
* <p>Reordering of the default order of the config-sources:</p>
@@ -116,7 +116,7 @@ public interface PropertySource{
* /META-INF/javaconfiguration.properties . Hint: In case of property
files every file is handled as independent
* config-source, but all of them have ordinal 400 by default (and can be
reordered in a fine-grained manner.</p>
*
- * In cases where it is not possible to change a config sources ordinal
createValue, you may have several options:
+ * In cases where it is not possible to change a config sources ordinal
value, you may have several options:
* <ul>
* <li>you can use a {@link ConfigurationBuilder} to redefine the
source order and finally use
* {@link
org.apache.tamaya.ConfigurationProvider#setConfiguration(Configuration)} to
@@ -152,8 +152,8 @@ public interface PropertySource{
* Access a property.
*
* @param key the property's key, not {@code null}.
- * @return the property createValue map, where {@code map.current(key) ==
createValue}, including also any metadata. In case a
- * createValue is null, simply return {@code null}.
+ * @return the property value map, where {@code map.current(key) ==
value}, including also any metadata. In case a
+ * value is null, simply return {@code null}.
*/
PropertyValue get(String key);
diff --git a/code/api/src/main/java/org/apache/tamaya/spi/PropertyValue.java
b/code/api/src/main/java/org/apache/tamaya/spi/PropertyValue.java
index 925cf46..7eacb65 100644
--- a/code/api/src/main/java/org/apache/tamaya/spi/PropertyValue.java
+++ b/code/api/src/main/java/org/apache/tamaya/spi/PropertyValue.java
@@ -596,7 +596,7 @@ public class PropertyValue implements Serializable,
Iterable<PropertyValue>{
public String toString() {
return "PropertyValue{" +
'\'' +getQualifiedKey() + '\'' +
- (value!=null?", createValue='" + value + '\'':"") +
+ (value!=null?", value='" + value + '\'':"") +
(getMeta().isEmpty()?"":", metaData=" + getMeta()) +
'}';
}
diff --git
a/code/api/src/main/java/org/apache/tamaya/spi/PropertyValueBuilder.java
b/code/api/src/main/java/org/apache/tamaya/spi/PropertyValueBuilder.java
index f0d7b4c..6f6ca9a 100644
--- a/code/api/src/main/java/org/apache/tamaya/spi/PropertyValueBuilder.java
+++ b/code/api/src/main/java/org/apache/tamaya/spi/PropertyValueBuilder.java
@@ -32,9 +32,9 @@ import java.util.concurrent.atomic.AtomicInteger;
public class PropertyValueBuilder {
/** The key accessed. */
protected String key;
- /** The property createValue. */
+ /** The property value. */
protected String value;
- /** The property createValue. */
+ /** The property value. */
protected String source;
/** additional metadata entries (optional). */
protected Map<String,String> metaEntries = new HashMap<>();
@@ -69,12 +69,12 @@ public class PropertyValueBuilder {
/**
* Add an additional context data information.
* @param key the context data key, not {@code null}.
- * @param value the context createValue, not {@code null} (will be
converted to String).
+ * @param value the context value, not {@code null} (will be converted to
String).
* @return the builder for chaining.
*/
public PropertyValueBuilder addMetaEntry(String key, String value) {
Objects.requireNonNull(key, "Meta key must be given.");
- Objects.requireNonNull(value, "Meta createValue must be given.");
+ Objects.requireNonNull(value, "Meta value must be given.");
this.metaEntries.put(key, value);
return this;
@@ -103,7 +103,7 @@ public class PropertyValueBuilder {
}
/**
- * Get the createValue's context data.
+ * Get the value's context data.
* @return the context data, not {@code null}.
*/
public Map<String,String> getMetaEntries() {
@@ -111,7 +111,7 @@ public class PropertyValueBuilder {
}
/**
- * Get the createValue's context data.
+ * Get the value's context data.
* @param key the key, not null.
* @return the context data, not {@code null}.
*/
@@ -120,7 +120,7 @@ public class PropertyValueBuilder {
}
/**
- * Get the createValue's context data.
+ * Get the value's context data.
* @param <T> the type of the class modeled by the type parameter
* @param type the target type, not null.
* @return the context data, not {@code null}.
@@ -160,8 +160,8 @@ public class PropertyValueBuilder {
}
/**
- * Sets a new createValue.
- * @param value the new createValue, not {@code null}.
+ * Sets a new value.
+ * @param value the new value, not {@code null}.
* @return the builder for chaining.
*/
public PropertyValueBuilder setValue(String value) {
@@ -196,7 +196,7 @@ public class PropertyValueBuilder {
public String toString() {
return "PropertyValueBuilder{" +
"key='" + key + '\'' +
- ", createValue='" + value + '\'' +
+ ", value='" + value + '\'' +
", source='" + source + '\'' +
", metaEntries=" + metaEntries +
'}';
diff --git a/code/api/src/main/java/org/apache/tamaya/spi/ServiceContext.java
b/code/api/src/main/java/org/apache/tamaya/spi/ServiceContext.java
index 61cba9c..3d97e93 100644
--- a/code/api/src/main/java/org/apache/tamaya/spi/ServiceContext.java
+++ b/code/api/src/main/java/org/apache/tamaya/spi/ServiceContext.java
@@ -18,15 +18,11 @@
*/
package org.apache.tamaya.spi;
-import org.apache.tamaya.ConfigException;
-
import javax.annotation.Priority;
import java.io.IOException;
import java.net.URL;
-import java.text.MessageFormat;
import java.util.*;
import java.util.function.Supplier;
-import java.util.logging.Level;
/**
@@ -44,7 +40,7 @@ public interface ServiceContext extends ClassloaderAware{
}
/**
- * Checks the given instance for a @Priority annotation. If present the
annotation's createValue is evaluated. If no such
+ * Checks the given instance for a @Priority annotation. If present the
annotation's value is evaluated. If no such
* annotation is present, a default priority of {@code 1} is returned.
* @param o the instance, not {@code null}.
* @return a priority, by default 1.
diff --git a/code/api/src/test/java/org/apache/tamaya/TestConfiguration.java
b/code/api/src/test/java/org/apache/tamaya/TestConfiguration.java
index d06753a..e8ea3cf 100644
--- a/code/api/src/test/java/org/apache/tamaya/TestConfiguration.java
+++ b/code/api/src/test/java/org/apache/tamaya/TestConfiguration.java
@@ -116,7 +116,7 @@ public class TestConfiguration implements Configuration {
@Override
public Map<String, String> getProperties() {
- // run toString on each createValue of the (key, createValue)
setCurrent in VALUES
+ // run toString on each value of the (key, value) setCurrent in VALUES
return VALUES.entrySet().stream().collect(
Collectors.toMap(
Map.Entry::getKey,
diff --git
a/code/api/src/test/java/org/apache/tamaya/spi/FilterContextTest.java
b/code/api/src/test/java/org/apache/tamaya/spi/FilterContextTest.java
index 24fed66..48b9ba9 100644
--- a/code/api/src/test/java/org/apache/tamaya/spi/FilterContextTest.java
+++ b/code/api/src/test/java/org/apache/tamaya/spi/FilterContextTest.java
@@ -125,7 +125,7 @@ public class FilterContextTest {
public void getConfigEntries() throws Exception {
Map<String,PropertyValue> config = new HashMap<>();
for(int i=0;i<10;i++) {
- config.put("key-"+i, PropertyValue.of("key-"+i, "createValue-"+i,
"test"));
+ config.put("key-"+i, PropertyValue.of("key-"+i, "value-"+i,
"test"));
}
PropertyValue val = PropertyValue.of("getConfigEntries", "v", "");
FilterContext ctx = new FilterContext(val, config,
ConfigurationContext.EMPTY);
@@ -137,7 +137,7 @@ public class FilterContextTest {
public void testToString() throws Exception {
Map<String,PropertyValue> config = new HashMap<>();
for(int i=0;i<2;i++) {
- config.put("key-"+i, PropertyValue.of("key-"+i, "createValue-"+i,
"test"));
+ config.put("key-"+i, PropertyValue.of("key-"+i, "value-"+i,
"test"));
}
PropertyValue val = PropertyValue.of("testToString", "val",
"mySource");
FilterContext ctx = new FilterContext(val, config,
ConfigurationContext.EMPTY);
@@ -145,7 +145,7 @@ public class FilterContextTest {
assertThat(toString).isNotNull();
System.out.println(toString);
-
assertThat(toString.contains("FilterContext{createValue='[PropertyValue{'testToString',
createValue='val'," +
+
assertThat(toString.contains("FilterContext{value='[PropertyValue{'testToString',
value='val'," +
" metaData={source=mySource}}]', configEntries=[")).isTrue();
assertThat(toString.contains("key-0")).isTrue();
assertThat(toString.contains("key-1")).isTrue();
diff --git
a/code/api/src/test/java/org/apache/tamaya/spi/PropertyValueBuilderTest.java
b/code/api/src/test/java/org/apache/tamaya/spi/PropertyValueBuilderTest.java
index fef0712..3af9775 100644
--- a/code/api/src/test/java/org/apache/tamaya/spi/PropertyValueBuilderTest.java
+++ b/code/api/src/test/java/org/apache/tamaya/spi/PropertyValueBuilderTest.java
@@ -150,7 +150,7 @@
// PropertyValueBuilder b = new PropertyValueBuilder("k",
"v").setSource("testSetContextData");
// Map<String,String> context = new HashMap<>();
// context.put("source", "testSetContextData");
-// context.put("ts", String.createValue(System.currentTimeMillis()));
+// context.put("ts", String.value(System.currentTimeMillis()));
// context.put("y", "yValue");
// b.setMeta(new HashMap<String, String>());
// b.setMeta(context);
@@ -177,13 +177,13 @@
//
// @Test
// public void testMapKey() {
-// PropertyValueBuilder b = new PropertyValueBuilder("key",
"createValue")
+// PropertyValueBuilder b = new PropertyValueBuilder("key", "value")
// .setMeta("_keyAndThenSome", "mappedvalue")
// .setMeta("somethingelse", "othervalue")
// .mapKey("mappedkey");
// PropertyValue pv = b.build();
// Assertions.assertThat(pv.getKey()).isEqualTo("mappedkey");
-// Assertions.assertThat(pv.getValue()).isEqualTo("createValue");
+// Assertions.assertThat(pv.getValue()).isEqualTo("value");
// Assertions.assertThat(pv.getMeta()).hasSize(2);
//
assertThat(pv.getMeta("_mappedkey.AndThenSome")).isEqualTo("mappedvalue");
// assertThat(pv.getMeta("somethingelse")).isEqualTo("othervalue");
@@ -194,7 +194,7 @@
// PropertyValueBuilder b = new PropertyValueBuilder("k", "v")
// .setMeta("metak", "metav");
// System.out.println(b.toString());
-//
assertThat(b.toString()).isEqualTo("PropertyValueBuilder{key='k'createValue='v'listValue='[]',
metaEntries={metak=metav}}");
+//
assertThat(b.toString()).isEqualTo("PropertyValueBuilder{key='k'value='v'listValue='[]',
metaEntries={metak=metav}}");
// }
//
// @Test(expected = NullPointerException.class)