Fix getProperty retrieval
git-svn-id: https://brutex.net/svn/xservices/trunk@73 e7e49efb-446e-492e-b9ec-fcafc1997a86
This commit is contained in:
		
							parent
							
								
									bcb98c74c6
								
							
						
					
					
						commit
						681b5580e2
					
				| @ -80,12 +80,19 @@ public class ReturnCode { | ||||
|         this.property = props; | ||||
|     } | ||||
|      | ||||
|     /** | ||||
|      * @param key | ||||
|      * @return | ||||
|      */ | ||||
|     public String getProperty(String key) { | ||||
|     	for(AntProperty prop : this.property) { | ||||
|     		if(prop.equals(key)) return prop.value; | ||||
|     		if(key.equals(prop.name)) return prop.value; | ||||
|     	} | ||||
|     	return null; | ||||
|     } | ||||
|      | ||||
|     /** | ||||
|      * @return | ||||
|      */ | ||||
|     public String getStdOut() { return this.stdOut; } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user