/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hudson.plugins.disk_usage;

import hudson.Extension;
import hudson.model.listeners.SaveableListener;

/**
 *
 * @author Lucie Votypkova
 */
@Extension
public class ProjectConfigListener extends SaveableListener{
    
//    @Override
//    public void onChange(Saveable item, XmlFile file){
//        System.out.println("save item " + item);
//        if(item instanceof AbstractProject){
//            System.out.println("builds  " + ((AbstractProject) item).getBuilds());
//           AbstractProject project = (AbstractProject) item;
//           DiskUsageProperty property = (DiskUsageProperty) project.getProperty(DiskUsageProperty.class);
//           if(property==null){
//                DiskUsageUtil.addProperty(project);
//           }
//        }
//    }
    
}

@@ -317,561 +317,8 @@
 er%7B%0A
-    %0A//    @Override%0A//    public void onChange(Saveable item, XmlFile file)%7B%0A//        System.out.println(%22save item %22 + item);%0A//        if(item instanceof AbstractProject)%7B%0A//            System.out.println(%22builds  %22 + ((AbstractProject) item).getBuilds());%0A//           AbstractProject project = (AbstractProject) item;%0A//           DiskUsageProperty property = (DiskUsageProperty) project.getProperty(DiskUsageProperty.class);%0A//           if(property==null)%7B%0A//                DiskUsageUtil.addProperty(project);%0A//           %7D%0A//        %7D%0A//    %7D
 %0A   

Clear commented code.