From: <jen...@us...> - 2009-12-31 11:06:43
|
Revision: 1975 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1975&view=rev Author: jenslehmann Date: 2009-12-31 11:06:37 +0000 (Thu, 31 Dec 2009) Log Message: ----------- removed superfluous cast Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/Info.java trunk/src/dl-learner/org/dllearner/refinementoperators/RhoDRDown.java Modified: trunk/src/dl-learner/org/dllearner/Info.java =================================================================== --- trunk/src/dl-learner/org/dllearner/Info.java 2009-12-31 10:55:24 UTC (rev 1974) +++ trunk/src/dl-learner/org/dllearner/Info.java 2009-12-31 11:06:37 UTC (rev 1975) @@ -1,8 +1,8 @@ - // File is updated automatically when a new version is created - package org.dllearner; +// File is updated automatically when a new version is created +package org.dllearner; - public class Info { - public static final String build = "2009-12-14"; - } - \ No newline at end of file +public class Info { + public static final String build = "2009-12-31"; +} + \ No newline at end of file Modified: trunk/src/dl-learner/org/dllearner/refinementoperators/RhoDRDown.java =================================================================== --- trunk/src/dl-learner/org/dllearner/refinementoperators/RhoDRDown.java 2009-12-31 10:55:24 UTC (rev 1974) +++ trunk/src/dl-learner/org/dllearner/refinementoperators/RhoDRDown.java 2009-12-31 11:06:37 UTC (rev 1975) @@ -1120,7 +1120,8 @@ Set<DatatypeProperty> mostGeneralBDPs = rs.getBooleanDatatypeProperties(); Set<DatatypeProperty> applicableBDPs = new TreeSet<DatatypeProperty>(); for(DatatypeProperty role : mostGeneralBDPs) { - Description d = (NamedClass) rs.getDomain(role); +// Description d = (NamedClass) rs.getDomain(role); + Description d = rs.getDomain(role); if(!isDisjoint(domain,d)) applicableBDPs.add(role); } @@ -1130,7 +1131,8 @@ Set<DatatypeProperty> mostGeneralDDPs = rs.getDoubleDatatypeProperties(); Set<DatatypeProperty> applicableDDPs = new TreeSet<DatatypeProperty>(); for(DatatypeProperty role : mostGeneralDDPs) { - Description d = (NamedClass) rs.getDomain(role); +// Description d = (NamedClass) rs.getDomain(role); + Description d = rs.getDomain(role); // System.out.println("domain: " + d); if(!isDisjoint(domain,d)) applicableDDPs.add(role); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |