Project

General

Profile

« Previous | Next » 

Revision 285ba853

Added by Andreas Müller about 10 years ago

make lineSeparator 1.6 compatibel again

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/datasource/wizard/CdmDataSourceCredentialsWizardPage.java
289 289
			}
290 290
		} catch(SQLException e){
291 291
			MessageDialog.openWarning(parent.getShell(), "Connection Test unsuccessful", "Reason: " + e.getMessage() 
292
					+ System.lineSeparator() 
293
					+ System.lineSeparator() 
292
					+ System.getProperty("line.separator")    //we may use System.lineSeparator when migrated to Java 1.7
293
					+ System.getProperty("line.separator")
294 294
					+ "Please double check the connection fields");
295 295
			throw new RuntimeException(e);
296 296
		} catch (ClassNotFoundException e) {
297 297
			MessageDialog.openWarning(parent.getShell(), "Connection Test unsuccessful", "Reason: " + e.getMessage()					
298
					+ System.lineSeparator() 
299
					+ System.lineSeparator() 
298
					+ System.getProperty("line.separator")    //we may use System.lineSeparator when migrated to Java 1.7
299
					+ System.getProperty("line.separator")
300 300
					+ "Please double check the connection fields");
301 301
			throw new RuntimeException(e);
302 302
		} 

Also available in: Unified diff