Skip to content

Commit 27bb17c

Browse files
committed
Merge branch 'hotfix-1.1.12'
2 parents 3bd83fe + 8ebb4ed commit 27bb17c

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

pom.xml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<name>baseCode</name>
66
<groupId>baseCode</groupId>
77
<artifactId>baseCode</artifactId>
8-
<version>1.1.11</version>
8+
<version>1.1.12</version>
99
<inceptionYear>2003</inceptionYear>
1010
<description>
1111
<![CDATA[Data structures, math and statistics tools, and utilities that are often needed across projects.]]>
@@ -402,16 +402,6 @@
402402
<artifactId>maven-site-plugin</artifactId>
403403
<version>3.9.1</version>
404404
</plugin>
405-
<plugin>
406-
<!-- used when running cobertura outside of the 'site' plugin call. -->
407-
<groupId>org.codehaus.mojo</groupId>
408-
<artifactId>cobertura-maven-plugin</artifactId>
409-
<version>2.7</version>
410-
<configuration>
411-
<outputDirectory>${cobertura.outputDirectory}</outputDirectory>
412-
<check/>
413-
</configuration>
414-
</plugin>
415405
<plugin>
416406
<groupId>org.apache.maven.plugins</groupId>
417407
<artifactId>maven-javadoc-plugin</artifactId>
@@ -490,17 +480,6 @@
490480
<targetJdk>1.7</targetJdk>
491481
</configuration>
492482
</plugin>
493-
<plugin>
494-
<groupId>org.codehaus.mojo</groupId>
495-
<artifactId>cobertura-maven-plugin</artifactId>
496-
<version>2.7</version>
497-
<configuration>
498-
<!-- seems we need something here when running 'mvn site' -->
499-
<check>
500-
<haltOnFailure>false</haltOnFailure>
501-
</check>
502-
</configuration>
503-
</plugin>
504483
<plugin>
505484
<groupId>org.codehaus.mojo</groupId>
506485
<artifactId>jdepend-maven-plugin</artifactId>

src/ubic/basecode/ontology/providers/AbstractOntologyService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,8 @@ private void initSearchByAlternativeId() {
466466
private OntologyTerm getTermInternal( String uri ) {
467467
return termCache.computeIfAbsent( uri, u -> {
468468
OntClass ontCls = model.getOntClass( u );
469-
// bnode
470-
if ( ontCls.getURI() == null ) {
469+
// null or bnode
470+
if ( ontCls == null || ontCls.getURI() == null ) {
471471
return null;
472472
}
473473
return new OntologyTermImpl( ontCls );

0 commit comments

Comments
 (0)