chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1096778 - in /chemistry/opencmis/trunk: chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/local/ chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/...
Date Tue, 26 Apr 2011 15:16:13 GMT
Author: fmui
Date: Tue Apr 26 15:16:08 2011
New Revision: 1096778

URL: http://svn.apache.org/viewvc?rev=1096778&view=rev
Log:
CMIS Workbench: input format fine tuning

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/local/CmisLocalSpi.java
    chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/PropertyEditorFrame.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/local/CmisLocalSpi.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/local/CmisLocalSpi.java?rev=1096778&r1=1096777&r2=1096778&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/local/CmisLocalSpi.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/local/CmisLocalSpi.java
Tue Apr 26 15:16:08 2011
@@ -93,7 +93,7 @@ public class CmisLocalSpi implements Cmi
             factory = (CmisServiceFactory) Class.forName(serviceFactoryClassname).newInstance();
             factory.init(parameters);
         } catch (Exception e) {
-            throw new CmisConnectionException("Factory cannot be created!", e);
+            throw new CmisConnectionException("Factory cannot be created: " + e.getMessage(),
e);
         }
 
         repositoryService = new RepositoryServiceImpl(session, factory);

Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/PropertyEditorFrame.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/PropertyEditorFrame.java?rev=1096778&r1=1096777&r2=1096778&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/PropertyEditorFrame.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/PropertyEditorFrame.java
Tue Apr 26 15:16:08 2011
@@ -27,6 +27,7 @@ import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import java.awt.event.KeyEvent;
 import java.awt.event.KeyListener;
+import java.text.DecimalFormat;
 import java.text.Format;
 import java.text.NumberFormat;
 import java.util.ArrayList;
@@ -514,7 +515,7 @@ public class PropertyEditorFrame extends
         private static final long serialVersionUID = 1L;
 
         public DecimalPropertyInputField(final Object value, final UpdateStatus status, final
Color bgColor) {
-            super(value, NumberFormat.getInstance(), status, bgColor);
+            super(value, new DecimalFormat("#,##0.##########"), status, bgColor);
             setHorizontalAlignment(JTextField.RIGHT);
         }
     }



Mime
View raw message