portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Schaefer <ch...@bluesunrise.com>
Subject tiny patch
Date Sat, 12 Nov 2005 20:11:03 GMT
this is a tiny patch.  I had this line do a null pointer exception on  
me.

-C-

Index:components/rdbms/src/java/org/apache/jetspeed/components/rdbms/ 
ojb/ConnectionRepositoryEntry.java
===================================================================
--- components/rdbms/src/java/org/apache/jetspeed/components/rdbms/ 
ojb/ConnectionRepositoryEntry.java	(revision 332675)
+++ components/rdbms/src/java/org/apache/jetspeed/components/rdbms/ 
ojb/ConnectionRepositoryEntry.java	(working copy)
@@ -282,7 +282,7 @@
          jdbcMetadataUtils.fillJCDFromDataSource(jcd, ds, null, null);

-        if (platform == null && jcd.getDbms().equals  
(JdbcMetadataUtils.PLATFORM_ORACLE)) {
+        if ( (platform == null) &&  
(JdbcMetadataUtils.PLATFORM_ORACLE.equals(jcd.getDbms()))) {
              // Postprocess to find Oracle version.
              updateOraclePlatform (jcd, ds);
          }


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message