@Test public void testToEntryEmpty() throws Exception { Object[] obj = new Object[0]; StackTraceElement[] st = new StackTraceElement[0]; assertTrue(EntryUtils.toEntry(obj).length == 0); assertTrue(EntryUtils.toEntry(st).length == 0); }
public static ObjectEntry[] toEntry(Object[] objs) { if(objs == null) { return null; } ObjectEntry[] entries = new ObjectEntry[objs.length]; for(int i = 0; i < objs.length; i++) { entries[i] = new ObjectEntry(objs[i]); } return entries; }
EntryUtils { public static ObjectEntry[] toEntry(Object[] objs) { if(objs == null) { return null; } ObjectEntry[] entries = new ObjectEntry[objs.length]; for(int i = 0; i < objs.length; i++) { entries[i] = new ObjectEntry(objs[i]); } return entries; } }
EntryUtils { public static ObjectEntry[] toEntry(Object[] objs) { if(objs == null) { return null; } ObjectEntry[] entries = new ObjectEntry[objs.length]; for(int i = 0; i < objs.length; i++) { entries[i] = new ObjectEntry(objs[i]); } return entries; } private  EntryUtils(); }
EntryUtils { public static ObjectEntry[] toEntry(Object[] objs) { if(objs == null) { return null; } ObjectEntry[] entries = new ObjectEntry[objs.length]; for(int i = 0; i < objs.length; i++) { entries[i] = new ObjectEntry(objs[i]); } return entries; } private  EntryUtils(); static ObjectEntry[] toEntry(Object[] objs); static StackTraceElementEntry[] toEntry(StackTraceElement[] elements); static Entry cloneEntry(Entry entry); }
EntryUtils { public static ObjectEntry[] toEntry(Object[] objs) { if(objs == null) { return null; } ObjectEntry[] entries = new ObjectEntry[objs.length]; for(int i = 0; i < objs.length; i++) { entries[i] = new ObjectEntry(objs[i]); } return entries; } private  EntryUtils(); static ObjectEntry[] toEntry(Object[] objs); static StackTraceElementEntry[] toEntry(StackTraceElement[] elements); static Entry cloneEntry(Entry entry);  }