Author: jleroux
Date: Fri Mar 6 17:56:24 2009 New Revision: 751007 URL: http://svn.apache.org/viewvc?rev=751007&view=rev Log: switch( => switch ( Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/techdata/TechDataServices.java ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/SSLUtil.java ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilName.java ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/techdata/TechDataServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/techdata/TechDataServices.java?rev=751007&r1=751006&r2=751007&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/techdata/TechDataServices.java (original) +++ ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/techdata/TechDataServices.java Fri Mar 6 17:56:24 2009 @@ -207,7 +207,7 @@ Double capacity = null; Time startTime = null; while (capacity == null || capacity.doubleValue()==0) { - switch( dayStart) { + switch ( dayStart) { case Calendar.MONDAY: capacity = techDataCalendarWeek.getDouble("mondayCapacity"); startTime = techDataCalendarWeek.getTime("mondayStartTime"); @@ -362,7 +362,7 @@ Double capacity = null; Time startTime = null; while (capacity == null || capacity.doubleValue() == 0) { - switch( dayEnd) { + switch ( dayEnd) { case Calendar.MONDAY: capacity = techDataCalendarWeek.getDouble("mondayCapacity"); startTime = techDataCalendarWeek.getTime("mondayStartTime"); Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java?rev=751007&r1=751006&r2=751007&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java Fri Mar 6 17:56:24 2009 @@ -220,7 +220,7 @@ protected void createPackLineItem(int checkCode, GenericValue res, String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, BigDecimal quantity, BigDecimal weight, int packageSeqId) throws GeneralException { // process the result; add new item if necessary - switch(checkCode) { + switch (checkCode) { case 0: // not enough reserved throw new GeneralException("Not enough inventory reservation available; cannot pack the item! [201]"); Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/SSLUtil.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/SSLUtil.java?rev=751007&r1=751006&r2=751007&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/SSLUtil.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/SSLUtil.java Fri Mar 6 17:56:24 2009 @@ -194,7 +194,7 @@ } public static HostnameVerifier getHostnameVerifier(int level) { - switch(level) { + switch (level) { case HOSTCERT_MIN_CHECK: return new HostnameVerifier() { public boolean verify(String hostname, SSLSession session) { Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilName.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilName.java?rev=751007&r1=751006&r2=751007&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilName.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilName.java Fri Mar 6 17:56:24 2009 @@ -138,7 +138,7 @@ if (name == null || name.length == 0) { return null; } - switch(field) { + switch (field) { case 1: // prefix String prefixChk = name[0].toUpperCase(); Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java?rev=751007&r1=751006&r2=751007&view=diff ============================================================================== --- ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java (original) +++ ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java Fri Mar 6 17:56:24 2009 @@ -222,7 +222,7 @@ public void notification(StoreEvent event) { String typeString = ""; - switch(event.getMessageType()) { + switch (event.getMessageType()) { case StoreEvent.ALERT: typeString = "ALERT: "; break; |
Free forum by Nabble | Edit this page |