Project

General

Profile

« Previous | Next » 

Revision 8481f952

Added by Andreas Müller almost 4 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/datasource/CdmDataSourceRepository.java
1

  
2 1
/**
3 2
 * Copyright (C) 2007 EDIT
4 3
 * European Distributed Institute of Taxonomy
......
8 7
 * See LICENSE.TXT at the top of this package for the full license terms.
9 8
 *
10 9
 * @author n.hoffmann
11
 * @version $Id: $
12 10
 */
13

  
14 11
package eu.etaxonomy.taxeditor.datasource;
15 12

  
16 13
import java.io.File;
......
53 50
	private static String lastUsedCdmSourceName;
54 51
	private static String lastUsedCdmSourcePostFix;
55 52

  
56

  
57

  
58 53
	/**
59 54
	 * <p>Getter for the field <code>lastUsedDataSourceName</code>.</p>
60 55
	 *
......
67 62
			lastUsedCdmSourcePostFix = memento != null ? memento.getString(CURRENT_DATASOURCE_POSTFIX) : DEFAULT_DATASOURCE_POSTFIX;
68 63

  
69 64
		}
70

  
71 65
	}
72 66

  
73 67
	/**
......
81 75
		return true;
82 76
	}
83 77

  
84

  
85 78
	/**
86 79
	 * <p>getAll</p>
87 80
	 *
......
92 85

  
93 86
		if (CdmPersistentDataSource.getAllDataSources() == null){
94 87
			MessagingUtils.errorDialog("Could not read root element", CdmPersistentDataSource.class,
95
					"Could not read element in datasources.xml in .cdmLibrary folder. Maybe your datasources.xml file is broken.", 
88
					"Could not read element in datasources.xml in .cdmLibrary folder. Maybe your datasources.xml file is broken.",
96 89
					TaxeditorStorePlugin.PLUGIN_ID, null, true);
97 90
			return remoteSources;
98 91
		}

Also available in: Unified diff