Revision: 15219
http://gate.svn.sourceforge.net/gate/?rev=15219&view=rev
Author: johann_p
Date: 2012-01-25 17:39:03 +0000 (Wed, 25 Jan 2012)
Log Message:
-----------
Better formatting of the source code.
Modified Paths:
--------------
gate/trunk/plugins/Ontology/src/gate/creole/ontology/impl/sesame/SesameManager.java
Modified:
gate/trunk/plugins/Ontology/src/gate/creole/ontology/impl/sesame/SesameManager.java
===================================================================
---
gate/trunk/plugins/Ontology/src/gate/creole/ontology/impl/sesame/SesameManager.java
2012-01-25 17:38:09 UTC (rev 15218)
+++
gate/trunk/plugins/Ontology/src/gate/creole/ontology/impl/sesame/SesameManager.java
2012-01-25 17:39:03 UTC (rev 15219)
@@ -260,14 +260,15 @@
//dirname = dirname.replaceAll("/$", "");
File dir = new File(dirname);
if (!dir.exists()) {
- throw new SesameManagerException("Specified path does not exist: " +
dir.getAbsolutePath());
+ throw new SesameManagerException("Specified path does not exist: " +
+ dir.getAbsolutePath());
}
if (!dir.isDirectory()) {
- throw new SesameManagerException("Specified path is not a directory: " +
dir.getAbsolutePath());
+ throw new SesameManagerException("Specified path is not a directory: " +
+ dir.getAbsolutePath());
}
+ setManager(new LocalRepositoryManager(dir), dir.toString());
- setManager(new LocalRepositoryManager(dir), dir.toString());
-
}
public void connectToLocalLocation(java.net.URL dirname, boolean mustexist) {
isManagedRepository = true;
@@ -279,14 +280,15 @@
throw new SesameManagerException("Specified URL is invalid:
"+dirname,ex);
}
if (!dir.exists()) {
- throw new SesameManagerException("Specified path does not exist: " +
dir.getAbsolutePath());
+ throw new SesameManagerException("Specified path does not exist: " +
+ dir.getAbsolutePath());
}
if (!dir.isDirectory()) {
- throw new SesameManagerException("Specified path is not a directory: " +
dir.getAbsolutePath());
+ throw new SesameManagerException("Specified path is not a directory: " +
+ dir.getAbsolutePath());
}
+ setManager(new LocalRepositoryManager(dir), dir.toString());
- setManager(new LocalRepositoryManager(dir), dir.toString());
-
}
/**
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs