Revision 44386 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.lib/org.gvsig.exportto.lib.api/src/main/java/org/gvsig/export/spi/AbstractExportService.java

View differences:

AbstractExportService.java
40 40

  
41 41
    private final ExportParameters parameters;
42 42
    private final Set<ExportFinishListener> finishListeners;
43
    protected AttributeNamesTranslator attributeNamesTranslator;
43
//    protected AttributeNamesTranslator attributeNamesTranslator;
44 44
    private SimpleTaskStatus taskStatus;
45 45
    private final ExportServiceFactory factory;
46 46

  
......
103 103
        this.getTaskStatus().cancelRequest();
104 104
    }
105 105

  
106
    @Override
107
    public AttributeNamesTranslator getAttributeNamesTranslator() {
108
        if (attributeNamesTranslator == null) {
109
            this.attributeNamesTranslator = ExportLocator.getServiceManager().createAttributeNamesTranslator();
110
        }
111
        return this.attributeNamesTranslator;
112
    }
106
//    @Override
107
//    public AttributeNamesTranslator getAttributeNamesTranslator() {
108
//        if (attributeNamesTranslator == null) {
109
//            this.attributeNamesTranslator = ExportLocator.getServiceManager().createAttributeNamesTranslator();
110
//        }
111
//        return this.attributeNamesTranslator;
112
//    }
113 113

  
114 114
    @Override
115 115
    public List<OpenDataStoreParameters> getTargetOpenStoreParameters() throws ExportException {

Also available in: Unified diff