package org.nutz.ioc.val;

import java.util.Properties;

import org.nutz.ioc.IocMaking;
import org.nutz.ioc.ValueProxy;

public class SysPropValue implements ValueProxy{
	
	private String name;
	
	public SysPropValue(String name) {
		this.name = name;
	}

	@Override
	public Object get(IocMaking ing) {
		Properties properties = System.getProperties();
		if (properties != null)
			return properties.get(name);
		return null;
	}

}

@@ -268,20 +268,8 @@
 %0D%0A%0D%0A
-%09@Override%0D%0A
 %09pub

remove the "@Override" for jdk5.0