git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
findbugs
[utils]
/
system
/
general
/
src
/
main
/
java
/
org
/
wamblee
/
system
/
adapters
/
FixedValueProvider.java
diff --git
a/system/general/src/main/java/org/wamblee/system/adapters/FixedValueProvider.java
b/system/general/src/main/java/org/wamblee/system/adapters/FixedValueProvider.java
index 98fa48af74f6ce1b3c30c01e4c01c82b83845587..4cbe97b23496fef22c336a7453159938ce89c5b2 100644
(file)
--- a/
system/general/src/main/java/org/wamblee/system/adapters/FixedValueProvider.java
+++ b/
system/general/src/main/java/org/wamblee/system/adapters/FixedValueProvider.java
@@
-1,5
+1,5
@@
/*
/*
- * Copyright 200
8
the original author or authors.
+ * Copyright 200
5-2010
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-19,23
+19,24
@@
import org.wamblee.system.core.Scope;
/**
* Value provider that provides a fixed value.
/**
* Value provider that provides a fixed value.
- *
+ *
* @author Erik Brakkee
*/
class FixedValueProvider implements ValueProvider {
* @author Erik Brakkee
*/
class FixedValueProvider implements ValueProvider {
-
- private Object _value;
-
- /**
- * Constructs the value.
- * @param aValue Value to construct.
- */
- public FixedValueProvider(Object aValue) {
- _value = aValue;
- }
+ private Object value;
+
+ /**
+ * Constructs the value.
+ *
+ * @param aValue
+ * Value to construct.
+ */
+ public FixedValueProvider(Object aValue) {
+ value = aValue;
+ }
-
@Override
-
public Object getValue(Scope aScope) {
- return _value;
-
}
+ @Override
+ public Object getValue(Scope aScope) {
+ return value;
+ }
}
}