Revision: 18462
          http://sourceforge.net/p/jmol/code/18462
Author:   hansonr
Date:     2013-07-18 17:50:12 +0000 (Thu, 18 Jul 2013)
Log Message:
-----------


Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java

Modified: trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java
===================================================================
--- trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java 2013-07-18 17:48:24 UTC 
(rev 18461)
+++ trunk/Jmol/src/org/jmol/quantum/NMRCalculation.java 2013-07-18 17:50:12 UTC 
(rev 18462)
@@ -412,8 +412,9 @@
           list1 = new JmolList<Object>();
           list1.addLast(Integer.valueOf(atoms[i].index));
           list1.addLast(Integer.valueOf(atoms[j].index));
-          list1.addLast(Float.valueOf(getDipolarConstantHz(atoms[i], 
atoms[j])));
-          data.addLast(list1);          
+          list1
+              .addLast(Float.valueOf(getDipolarConstantHz(atoms[i], 
atoms[j])));
+          data.addLast(list1);
         }
     } else if (tensorType.startsWith("isc")) {
       boolean isJ = infoType.equals(";jcoupling.");
@@ -424,15 +425,16 @@
         list1 = new JmolList<Object>();
         list1.addLast(Integer.valueOf(t.atomIndex1));
         list1.addLast(Integer.valueOf(t.atomIndex2));
-        list1.addLast(isJ ?  Float.valueOf(getJCouplingHz(null, null, null, 
t)) : t.getInfo(infoType));
-        data.addLast(list1);          
+        list1.addLast(isJ ? Float.valueOf(getJCouplingHz(null, null, null, t))
+            : t.getInfo(infoType));
+        data.addLast(list1);
       }
     } else {
       boolean isChi = tensorType.startsWith("efg") && infoType.equals(";chi.");
       for (int i = bs.nextSetBit(0); i >= 0; i = bs.nextSetBit(i + 1)) {
         Tensor t = getAtomTensor(i, tensorType);
-        data.addLast(t == null ? null : new Object[] {Integer.valueOf(i), 
isChi ?  
-            Float.valueOf(getQuadrupolarConstant(t)) : t.getInfo(infoType) });
+        data.addLast(t == null ? null : isChi ? Float
+            .valueOf(getQuadrupolarConstant(t)) : t.getInfo(infoType));
       }
     }
     return data;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to