You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.eclipse.sisu.plexus/src/main/java/org/codehaus/plexus/component/configurator/converters/basic/AbstractBasicConverter.java
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ public Object fromConfiguration( final ConverterLookup lookup, final PlexusConfi
40
40
{
41
41
try
42
42
{
43
-
result = fromString( (String) result );
43
+
result = fromString( (String) result, type );
44
44
}
45
45
catch ( finalComponentConfigurationExceptione )
46
46
{
@@ -58,15 +58,24 @@ public Object fromConfiguration( final ConverterLookup lookup, final PlexusConfi
protectedObjectfromString( finalStringstr, finalClass<?> type )
62
+
throwsComponentConfigurationException
63
+
{
64
+
returnfromString( str );
65
+
}
66
+
67
+
protectedObjectfromString( finalStringstr )
68
+
throwsComponentConfigurationException
69
+
{
70
+
thrownewUnsupportedOperationException("The class " + this.getClass().getName() + " must implement one of the fromString(...) methods, but it doesn't");
Copy file name to clipboardExpand all lines: org.eclipse.sisu.plexus/src/main/java/org/codehaus/plexus/component/configurator/converters/lookup/DefaultConverterLookup.java
0 commit comments