Skip to content

Commit 9065a98

Browse files
committed
Release
1 parent 5d35d36 commit 9065a98

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

src/main/java/in/erail/glue/ComponentRepository.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected void processPropertyStack(Deque<PropertyContext> pPropertyStack) {
7474
}
7575

7676
@SuppressWarnings("unchecked")
77-
protected void processProperty(PropertyContext pPropCtx, Deque<PropertyContext> pPropertyStack) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
77+
protected void processProperty(PropertyContext pPropCtx, Deque<PropertyContext> pPropertyStack) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
7878

7979
ValueProxy v = pPropCtx.getValue();
8080

@@ -162,7 +162,8 @@ protected void loadPropertiesInStack(Object pInstance, ListMultimap<String, Valu
162162
*
163163
* @param pPath Component Path
164164
* @param pProperties Properties loaded from properties file
165-
* @return Returns Tuple where value1 = true if new Object is created. Or else false
165+
* @return Returns Tuple where value1 = true if new Object is created. Or else
166+
* false
166167
*/
167168
protected Tuple<Boolean, Object> getInstance(String pPath, ListMultimap<String, ValueWithModifier> pProperties) {
168169

src/main/java/in/erail/glue/PropertiesRepository.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ private Observable<Properties> loadUncachedProperties(Observable<Tuple<Path, Pat
331331
}
332332

333333
/**
334-
* Return already loaded properties file map. If file is not loaded then empty map is returned
334+
* Return already loaded properties file map. If file is not loaded then empty
335+
* map is returned
335336
*
336337
* @param pPath Search path and full path of properties file
337338
* @return Properties map

src/test/java/in/erail/glue/component/PropertiesComponent.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public class PropertiesComponent {
4242
public ServiceMap propNullServiceMap;
4343
public int propInt;
4444
public int propNullInt;
45-
public Integer propInteger;
46-
public Integer propNullInteger;
45+
public Integer propInteger;
46+
public Integer propNullInteger;
4747
public File propFile;
4848
public File propNullFile;
4949
public long propLong;
@@ -57,8 +57,9 @@ public class PropertiesComponent {
5757
public Histogram propHistogram;
5858
public Counter propCounter;
5959
public Timer propTimer;
60+
@SuppressWarnings("rawtypes")
6061
public Class propClass;
61-
62+
6263
@StartService
6364
public void startup() {
6465
setStartup(true);
@@ -400,10 +401,12 @@ public void setPropVarArgComponentArray(Object... pPropVarArgComponentArray) {
400401
this.propVarArgComponentArray = pPropVarArgComponentArray;
401402
}
402403

404+
@SuppressWarnings("rawtypes")
403405
public Class getPropClass() {
404406
return propClass;
405407
}
406408

409+
@SuppressWarnings("rawtypes")
407410
public void setPropClass(Class pPropClass) {
408411
this.propClass = pPropClass;
409412
}

0 commit comments

Comments
 (0)