1 23 package org.hammurapi.inspectors.testcases.fixes; 24 25 import java.util.Vector ; 26 27 32 public class RedundantParenthesisRuleFixTestCase { 33 34 private static org.apache.log4j.Logger logger = 35 org.apache.log4j.Logger.getRootLogger(); 36 37 private static final int DIM = 20; 38 private static final int UPPER_BOUND = 5; 39 40 private Vector billItems; 41 42 43 public RedundantParenthesisRuleFixTestCase() { 44 super(); 45 46 billItems = new Vector (DIM); 47 Object obj = new Object (); 48 for (int i = 0; i < DIM; i++) { 49 50 if (i >= UPPER_BOUND && obj != null) { 52 53 billItems.setElementAt(obj, i); 54 } 55 } 56 } 57 } 58 59 | Popular Tags |