bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public Rectangle getBounds(){ logger.debug("calling getBounds"); return null; }
public Rectangle getBounds(){ logger.debug("calling getBounds"); return null; }
1,119,505
public Rectangle2D getBounds2D(){ logger.debug("calling getBounds2D"); return null; }
public Rectangle2D getBounds2D(){ logger.debug("calling getBounds2D"); return null; }
1,119,506
public PathIterator getPathIterator(AffineTransform at){ logger.debug("calling getPathIterator(AffineTransform)"); return getPathIterator(at, 0); }
public PathIterator getPathIterator(AffineTransform at){ return getPathIterator(at, 0); }
1,119,507
public boolean intersects(double x, double y, double w, double h){ logger.debug("calling intersects(double, double, double, double)"); return false; }
public boolean intersects(double x, double y, double w, double h){ return false; }
1,119,508
public void plot(SeismogramShapeIterator iterator){ iterator.setSeisPoints(DisplayUtils.getSeisPoints(dss.getSeismogram(), iterator.getTime())); iterator.setBaseSeisPoint(); iterator.setPointsPerPixel(); if(iterator.getPointsPerPix...
public void plot(SeismogramShapeIterator iterator){ iterator.setSeisPoints(DisplayUtils.getSeisPoints(dss.getSeismogram(), iterator.getTime())); iterator.setBaseSeisPoint(); iterator.setPointsPerPixel(); /*if(iterator.getPointsPerP...
1,119,509
public void plot(SeismogramShapeIterator iterator){ iterator.setSeisPoints(DisplayUtils.getSeisPoints(dss.getSeismogram(), iterator.getTime())); iterator.setBaseSeisPoint(); iterator.setPointsPerPixel(); if(iterator.getPointsPerPix...
public void plot(SeismogramShapeIterator iterator){ iterator.setSeisPoints(DisplayUtils.getSeisPoints(dss.getSeismogram(), iterator.getTime())); iterator.setBaseSeisPoint(); iterator.setPointsPerPixel(); if(iterator.getPointsPerPix...
1,119,510
public void plot(SeismogramShapeIterator iterator){ iterator.setSeisPoints(DisplayUtils.getSeisPoints(dss.getSeismogram(), iterator.getTime())); iterator.setBaseSeisPoint(); iterator.setPointsPerPixel(); if(iterator.getPointsPerPix...
public void plot(SeismogramShapeIterator iterator){ iterator.setSeisPoints(DisplayUtils.getSeisPoints(dss.getSeismogram(), iterator.getTime())); iterator.setBaseSeisPoint(); iterator.setPointsPerPixel(); if(iterator.getPointsPerPix...
1,119,511
public FormattedEvents(Collection events, CalendarInfo calInfo, CalTimezones ctz) { this.events = events; this.calInfo = calInfo; this.ctz = ctz; }
public FormattedEvents(Collection events, CalendarInfo calInfo, CalTimezones ctz) { if (events == null) { this.events = new Vector(); } else { this.events = events; } this.calInfo = calInfo; this.ctz = ctz; }
1,119,512
public static RT130FileHandlerFlag fromInt(int type) throws UnsupportedFileTypeException { if(type == FULL.getIntValue()) { return FULL; } else if(type == NO_LOGS.getIntValue()) { return NO_LOGS; } else if(type == POP_DB_WITH_CHANNELS.getIntValue()) { ...
public static RT130FileHandlerFlag fromInt(int type) throws UnsupportedFileTypeException { if(type == SCAN.getIntValue()) { return SCAN; } else if(type == FULL.getIntValue()) { return FULL; } else if(type == NO_LOGS.getIntValue()) { return NO_LOGS; } else if(typ...
1,119,514
public static RT130FileHandlerFlag fromInt(int type) throws UnsupportedFileTypeException { if(type == FULL.getIntValue()) { return FULL; } else if(type == NO_LOGS.getIntValue()) { return NO_LOGS; } else if(type == POP_DB_WITH_CHANNELS.getIntValue()) { ...
public static RT130FileHandlerFlag fromInt(int type) throws UnsupportedFileTypeException { if(type == FULL.getIntValue()) { return FULL; } else if(type == NO_LOGS.getIntValue()) { return NO_LOGS; } else if(type == POP_DB_WITH_CHANNELS.getIntValue()) { ...
1,119,515
public static RT130FileHandlerFlag fromString(String modeURL) throws UnsupportedFileTypeException { if(modeURL.equals(FULL.getURLValue().toString())) { return FULL; } else if(modeURL.equals(NO_LOGS.getURLValue().toString())) { return NO_LOGS; } else if(modeURL.e...
public static RT130FileHandlerFlag fromString(String modeURL) throws UnsupportedFileTypeException { if(modeURL.equals(SCAN.getURLValue().toString())) { return SCAN; } else if(modeURL.equals(FULL.getURLValue().toString())) { return FULL; } else if(modeURL.equals(NO_LOGS.getURLValu...
1,119,516
public static RT130FileHandlerFlag fromString(String modeURL) throws UnsupportedFileTypeException { if(modeURL.equals(FULL.getURLValue().toString())) { return FULL; } else if(modeURL.equals(NO_LOGS.getURLValue().toString())) { return NO_LOGS; } else if(modeURL.e...
public static RT130FileHandlerFlag fromString(String modeURL) throws UnsupportedFileTypeException { if(modeURL.equals(FULL.getURLValue().toString())) { return FULL; } else if(modeURL.equals(NO_LOGS.getURLValue().toString())) { return NO_LOGS; } else if(modeURL.e...
1,119,517
protected void processDataRead() { while (true) { Matcher matcher = pattern.matcher(dataRead); if (!matcher.find()) { break; } dataRead = dataRead.substring(matcher.end(), dataRead.length()); Object[] command = Util.commandTextToJava(matcher.group(1)); commandHandled = true; if (command[0].toSt...
protected void processDataRead() { while (true) { Matcher matcher = pattern.matcher(dataRead); if (!matcher.find()) { break; } dataRead = dataRead.substring(matcher.end(), dataRead.length()); Object[] command = Util.commandTextToJava(matcher.group(1)); commandHandled = true; if (command[0].toSt...
1,119,518
public Vector getCompFilters() { if (compFilters == null) { compFilters = new Vector(); } return compFilters; }
public Collection getCompFilters() { if (compFilters == null) { compFilters = new Vector(); } return compFilters; }
1,119,519
public Vector getCompFilters() { if (compFilters == null) { compFilters = new Vector(); } return compFilters; }
public Vector getCompFilters() { if (compFilters == null) { compFilters = new ArrayList(); } return compFilters; }
1,119,520
public Vector getPropFilters() { if (propFilters == null) { propFilters = new Vector(); } return propFilters; }
public Collection getPropFilters() { if (propFilters == null) { propFilters = new Vector(); } return propFilters; }
1,119,521
public Vector getPropFilters() { if (propFilters == null) { propFilters = new Vector(); } return propFilters; }
public Vector getPropFilters() { if (propFilters == null) { propFilters = new ArrayList(); } return propFilters; }
1,119,522
private void showInputFieldsOrExecuteQuery(List executedSQLStatements, IWResourceBundle resourceBundle, IWContext iwc) throws RemoteException { Map identifierValueMap = query.getIdentifierValueMap(); boolean calculateAccess = false; boolean containsOnlyAccessVariable = ( (calculateAccess = identifierValueMa...
private void showInputFieldsOrExecuteQuery(List executedSQLStatements, IWResourceBundle resourceBundle, IWContext iwc) throws RemoteException { Map identifierValueMap = query.getIdentifierValueMap(); boolean calculateAccess = false; boolean containsOnlyAccessVariable = ( (calculateAccess = identifierValueMa...
1,119,523
public UserAuth getUserAuth(String user, Object par) throws CalFacadeException { if (userAuth != null) { //userAuth.reinitialise(getUserAuthCallBack()); return userAuth; } try { userAuth = (UserAuth)CalFacadeUtil.getObject(getSyspars().getUserauthClass(), ...
public UserAuth getUserAuth(String user, Object par) throws CalFacadeException { if (userAuth != null) { //userAuth.reinitialise(getUserAuthCallBack()); return userAuth; } try { userAuth = (UserAuth)CalFacadeUtil.getObject(getSyspars().getUserauthClass(), ...
1,119,524
private BwOrganizer makeOrganizer(String uri) { BwOrganizer org = new BwOrganizer(CalFacadeDefs.unsavedItemKey, null, // cn null, // dir null, // language "me@rpi.edu"...
private BwOrganizer makeOrganizer(String uri) { BwOrganizer org = new BwOrganizer(CalFacadeDefs.unsavedItemKey, null, // cn null, // dir null, // language "me@rpi.edu"...
1,119,525
public void testCalSvcEvents() { try { svciUtil.open(privateUser1); /* Add an organizer to our event as private user 1 */ ev = getEvent(key, privateUser1); // clone it to see what happens if (ev instanceof BwEventObj) { ((BwEventObj)ev).clone(); } ev.setOrganizer(makeOrgan...
public void testCalSvcEvents() { try { svciUtil.open(privateUser1); /* Add an organizer to our event as private user 1 */ ev = getEvent(key, privateUser1); // clone it to see what happens if (ev instanceof BwEventObj) { ((BwEventObj)ev).clone(); } ev.setOrganizer(makeOrgan...
1,119,526
public PackageFigure() { this.setLayoutManager(new org.eclipse.gmf.internal.codegen.draw2d.GridLayout()); this.setFill(false); this.setFillXOR(false); this.setOutline(false); this.setOutlineXOR(false); this.setLineWidth(1); this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); createContents(); ...
public PackageFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 2; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = 0; layoutT...
1,119,527
public void applyInPlace(float[] data) { int w = Math.round(data.length*width); double[] coeff = getCoefficients(w); double omega = coeff[0]; double f0 = coeff[1]; double f1 = coeff[2]; for (int i=0; i < w ; i++) { data[i] = (float)(data[i] * (f0 - f1 * Math.cos(omega*i))); data[data.length-i] = (float)(...
public void applyInPlace(float[] data) { int w = Math.round(data.length*width); double[] coeff = getCoefficients(w); double omega = coeff[0]; double f0 = coeff[1]; double f1 = coeff[2]; for (int i=0; i < w ; i++) { data[i] = (float)(data[i] * (f0 - f1 * Math.cos(omega*i))); data[data.length-i] = (float)(...
1,119,528
double[] getCoefficients(int length) { double[] out = new double[3]; if (type == HANNING) { out[0] = Math.PI/length; out[1] = .5f; out[2] = .5f; } else if (type == HANNING) { out[0] = Math.PI/length; out[1] = .54f; out[2] = .46f; } else { // cosine out[0] = Math.PI/2/length; out[...
double[] getCoefficients(int length) { double[] out = new double[3]; if (type == HANNING) { out[0] = Math.PI/length; out[1] = .5f; out[2] = .5f; } else if (type == HANNING) { out[0] = Math.PI/length; out[1] = .54f; out[2] = .46f; } else { // cosine out[0] = Math.PI/2/length; out[...
1,119,530
public EventProperties(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, String keyFieldName, String className, String refQuery, int minId, boolean de...
public EventProperties(Calintf cal, AccessUtil access, int currentMode, String keyFieldName, String className, String refQuery, int minId, boolean debug) { super(cal, ac...
1,119,532
public EventProperties(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, String keyFieldName, String className, String refQuery, int minId, boolean de...
public EventProperties(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, String keyFieldName, String className, String refQuery, int minId, boolean de...
1,119,533
public void setDay(String val) { try { getCal().set(Calendar.DAY_OF_MONTH, Integer.parseInt(val)); } catch (NumberFormatException e) { getCal().set(Calendar.DAY_OF_MONTH, 1); fieldInError = "MONTH"; } }
public void setDay(String val) { try { getCal().set(Calendar.DAY_OF_MONTH, Integer.parseInt(val)); } catch (NumberFormatException e) { getCal().set(Calendar.DAY_OF_MONTH, 1); fieldInError = "DAY_OF_MONTH"; } }
1,119,534
protected double binarySum(int start, int finish) { if (iSeries != null) { return iBinarySum(start, finish); } // end of if (iSeries != null) if (sSeries != null) { return sBinarySum(start, finish); } // end of if (sSeries != null) if (fSeries != null) { return fBinarySum(start, finish); } // end of if ...
public double binarySum(int start, int finish) { if (iSeries != null) { return iBinarySum(start, finish); } // end of if (iSeries != null) if (sSeries != null) { return sBinarySum(start, finish); } // end of if (sSeries != null) if (fSeries != null) { return fBinarySum(start, finish); } // end of if (fS...
1,119,535
protected double binarySumDevLag(int start, int finish, double mean, int lag) { if (iSeries != null) { return iBinarySumDevLag(start, finish, mean, lag); } // end of if (iSeries != null) if (sSeries != null) { return sBinarySumDevLag(start, finish, mean, lag); } // end of if (sSeries != null) if (f...
protected double binarySumDevLag(int start, int finish, double mean, int lag) { if (iSeries != null) { return iBinarySumDevLag(start, finish, mean, lag); } // end of if (iSeries != null) if (sSeries != null) { return sBinarySumDevLag(start, finish, mean, lag); } // end of if (sSeries != null) if (f...
1,119,536
protected double binarySumDevSqr(int start, int finish, double mean) { if (iSeries != null) { return iBinarySumDevSqr(start, finish, mean); } // end of if (iSeries != null) if (sSeries != null) { return sBinarySumDevSqr(start, finish, mean); } // end of if (sSeries != null) if (fSeries != null) { return...
public double binarySumDevSqr(int start, int finish, double mean) { if (iSeries != null) { return iBinarySumDevSqr(start, finish, mean); } // end of if (iSeries != null) if (sSeries != null) { return sBinarySumDevSqr(start, finish, mean); } // end of if (sSeries != null) if (fSeries != null) { return fB...
1,119,537
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
1,119,538
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
1,119,539
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
1,119,540
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
1,119,541
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
1,119,542
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
private double[] calculateMinMaxMean(int beginIndex, int endIndex){ minMaxMean[0] = Double.POSITIVE_INFINITY; minMaxMean[1] = Double.NEGATIVE_INFINITY; minMaxMean[2] = 0; if (iSeries != null) { for (int i = beginIndex; i < endIndex; i++) { minMaxMean[0] = Math.min(minMaxMean[0], iSeries[i]); minMaxMean[1] = M...
1,119,543
public void setIndex(int val) { index = val; encoding = privEncoding[index]; }
private void setIndex(int val) { index = val; encoding = privEncoding[index]; }
1,119,544
void doRestore() throws Throwable { digester = new Digester(); RegexMatcher m = new SimpleRegexMatcher(); digester.setRules(new RegexRules(m)); digester.addRuleSet(new RestoreRuleSet(globals)); digester.parse(new FileReader(filename)); if (globals.config.getFrom2p3px()) { makePrefs(); if (...
void doRestore() throws Throwable { digester = new Digester(); RegexMatcher m = new SimpleRegexMatcher(); digester.setRules(new RegexRules(m)); digester.addRuleSet(new RestoreRuleSet(globals)); digester.parse(new FileReader(filename)); if (globals.config.getFrom2p3px()) { makePrefs(); if (...
1,119,545
void getConfigProperties(String[] args) throws Throwable { /* Look for the appname arg */ if (args != null) { for (int i = 0; i < args.length; i++) { if (argpar("-appname", args, i)) { i++; appName = args[i]; } else if (args[i].equals("-initSyspars")) { globals.conf...
void getConfigProperties(String[] args) throws Throwable { /* Look for the appname arg */ if (args != null) { for (int i = 0; i < args.length; i++) { if (argpar("-appname", args, i)) { i++; appName = args[i]; } else if (args[i].equals("-initSyspars")) { initSyspars ...
1,119,547
void getConfigProperties(String[] args) throws Throwable { /* Look for the appname arg */ if (args != null) { for (int i = 0; i < args.length; i++) { if (argpar("-appname", args, i)) { i++; appName = args[i]; } else if (args[i].equals("-initSyspars")) { globals.conf...
void getConfigProperties(String[] args) throws Throwable { /* Look for the appname arg */ if (args != null) { for (int i = 0; i < args.length; i++) { if (argpar("-appname", args, i)) { i++; appName = args[i]; } else if (args[i].equals("-initSyspars")) { globals.conf...
1,119,548
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,549
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; CurrentAccess ca = new CurrentAccess(); ca.desir...
1,119,550
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,551
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,552
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,553
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,554
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,555
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,556
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,557
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,558
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,559
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,560
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,561
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,562
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
public synchronized boolean evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; char[] privileges = null; setEncoded(acl); ...
1,119,563
private void buildModel() { ReaderFactory factory = ReaderFactory.getInstance(); IdeaReader reader = factory.read(new File("etc/test.opml")); rootIdea = reader.getIdea(); rootView = new IdeaView(rootIdea); // rootIdea = new Idea("Persistence");// System.out.println("...
private void buildModel() { ReaderFactory factory = ReaderFactory.getInstance(); IdeaReader reader = factory.read(new File("etc/test.opml")); rootIdea = reader.getIdea(); rootView = new IdeaView(rootIdea); // rootIdea = new Idea("Persistence");// System.out.println("...
1,119,564
private Point2D tweakIdeas(final Vector<IdeaView> views, final Point2D c, final double initAngle, final boolean hasParent) { if (views.size() == 0) { return new Point2D.Double(0.0, 0.0); } double mass = 2000.0 / (points.size() * Math.sqrt((double)points.size())); ...
private Point2D tweakIdeas(final Vector<IdeaView> views, final Point2D c, final double initAngle, final boolean hasParent) { if (views.size() == 0) { return new Point2D.Double(0.0, 0.0); } double mass = 2000.0 / (points.size() * Math.sqrt((double)points.size())); ...
1,119,565
private Point2D tweakIdeas(final Vector<IdeaView> views, final Point2D c, final double initAngle, final boolean hasParent) { if (views.size() == 0) { return new Point2D.Double(0.0, 0.0); } double mass = 2000.0 / (points.size() * Math.sqrt((double)points.size())); ...
private Point2D tweakIdeas(final Vector<IdeaView> views, final Point2D c, final double initAngle, final boolean hasParent) { if (views.size() == 0) { return new Point2D.Double(0.0, 0.0); } double mass = 2000.0 / (points.size() * Math.sqrt((double)points.size())); ...
1,119,566
private void deleteSelected() { final IdeaView selected = this.ideaMap.getSelectedView(); if (selected == null) { return; } MapComponent parent = selected.getParent(); if (!(parent instanceof IdeaView)) { return; } IdeaView parentView = (IdeaVie...
private void deleteSelected() { final IdeaView selected = this.ideaMap.getSelectedView(); if (selected == null) { return; } MapComponent parent = selected.getParent(); if (!(parent instanceof IdeaView)) { return; } IdeaView parentView = (IdeaVie...
1,119,567
public void dumpSection(Iterator it) throws Throwable { tagStart(dumpTag); info("Dumping system parameters."); di.open(); new DumpSyspars(globals).dumpSection(di.getSyspars()); di.close(); info("Dumping users."); di.open(); new DumpUsers(globals).dumpSection(di.getUsers()); di.close(); i...
public void dumpSection(Iterator it) throws Throwable { tagStart(dumpTag); info("Dumping system parameters."); di.open(); new DumpSyspars(globals).dumpSection(di.getSyspars()); di.close(); info("Dumping users."); di.open(); new DumpUsers(globals).dumpSection(di.getUsers()); di.close(); i...
1,119,568
private BwCalendar cloneAndCheckOne(BwCalendar subroot, int desiredAccess, boolean nullForNoAccess) throws CalFacadeException { if (!access.accessible(subroot, desiredAccess, nullForNoAccess)) { return null; } BwCalendar cal = (BwCalendar)subroot.clone(); // XXX Temp fix - a...
private BwCalendar cloneAndCheckOne(BwCalendar subroot, int desiredAccess, boolean nullForNoAccess) throws CalFacadeException { CurrentAccess ca = access.checkAccess(subroot, desiredAccess, nullForNoAccess); if (!ca.accessAllowed) { return null; } BwCalendar cal = (BwCalendar)...
1,119,569
public Calendar getIcal() throws WebdavIntfException { init(true); try { if (ical == null) { if (events.size() == 1) { ical = trans.toIcal(event); } else { // recurring ical = trans.toIcal(events); } } if ((veventString == null)) { veventStri...
public Calendar getIcal() throws WebdavIntfException { init(true); try { if (ical == null) { if (events.size() == 1) { ical = trans.toIcal(eventInfo.getEvent()); } else { // recurring ical = trans.toIcal(events); } } if ((veventString == null)) { ...
1,119,571
public Component getVevent() throws WebdavIntfException { init(true); try { if ((event != null) && (vevent == null)) { Calendar ical = trans.toIcal(event); if (events.size() == 1) { this.ical = ical; // Save doing it again } vevent = (VEvent)ical.getComponents().getComp...
public Component getVevent() throws WebdavIntfException { init(true); try { if ((event != null) && (vevent == null)) { Calendar ical = trans.toIcal(event); if (events.size() == 1) { this.ical = ical; // Save doing it again } vevent = (VEvent)ical.getComponents().getComp...
1,119,572
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((eventInfo == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode re...
1,119,573
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
1,119,574
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
1,119,575
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
1,119,576
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
1,119,577
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
public void init(boolean content) throws WebdavIntfException { if (!content) { return; } try { if ((event == null) && exists) { String entityName = cdURI.getEntityName(); if (entityName == null) { return; } if (debug) { debugMsg("SEARCH: compNode retrie...
1,119,578
private void generateGenericAmp(){ // Currently, we only do "real world units" in the case of one seismogram // eventually, the overlays should if(amps.length == 0){ genericAmp = DisplayUtils.ONE_RANGE; } else if(amps.length == 1){ genericAmp = UnitDisplayUtil.getRe...
protected void generateGenericAmp(){ // Currently, we only do "real world units" in the case of one seismogram // eventually, the overlays should if(amps.length == 0){ genericAmp = DisplayUtils.ONE_RANGE; } else if(amps.length == 1){ genericAmp = UnitDisplayUtil.get...
1,119,580
private void dumpOrganizer(BwOrganizer o) throws Throwable { tagStart(objectOrganizer); taggedEntityId(o); taggedVal("cn", o.getCn()); taggedVal("dir", o.getDir()); taggedVal("lang", o.getLanguage()); taggedVal("sent-by", o.getSentBy()); taggedVal("organizer-uri", o.getOrganizerUri()); tagEnd(...
private void dumpOrganizer(BwOrganizer o) throws Throwable { tagStart(objectOrganizer); ownedEntityTags(o); taggedVal("cn", o.getCn()); taggedVal("dir", o.getDir()); taggedVal("lang", o.getLanguage()); taggedVal("sent-by", o.getSentBy()); taggedVal("organizer-uri", o.getOrganizerUri()); tagEnd...
1,119,581
protected BwDateTime dateTimeFld() throws Exception { if (fldval == null) { throw new Exception("No value for " + tagName); } try { BwDateTime dtim = new BwDateTime(); dtim.init(false, fldval, null, globals.getTzcache()); return dtim; } catch (Throwable t) { throw new Exception(t)...
protected BwDateTime dateTimeFld() throws Exception { if (fldval == null) { throw new Exception("No value for " + tagName); } try { BwDateTime dtim = new BwDateTime(); dtim.init(dateType, dtVal, tzid, globals.getTzcache()); return dtim; } catch (Throwable t) { throw new Exception(...
1,119,582
public String doSale(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException { try { IWTimestamp stamp = IWTimestamp.RightNow(); strName = nameOnCard; strCCNumber = cardn...
public String doSale(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException { try { IWTimestamp stamp = IWTimestamp.RightNow(); strName = nameOnCard; strCCNumber = cardn...
1,119,583
public BwSystem getSyspars() throws CalFacadeException { if (syspars == null) { String name; try { name = CalEnv.getGlobalProperty("system.name"); } catch (Throwable t) { throw new CalFacadeException(t); } sess.namedQuery("getSystemPars"); sess.setString("name", name); ...
public BwSystem getSyspars() throws CalFacadeException { if (syspars == null) { String name; try { name = CalEnv.getGlobalProperty("system.name"); } catch (Throwable t) { throw new CalFacadeException(t); } sess.namedQuery("getSystemPars"); sess.setString("name", name); ...
1,119,584
public BwSystem getSyspars() throws CalFacadeException { if (syspars == null) { String name; try { name = CalEnv.getGlobalProperty("system.name"); } catch (Throwable t) { throw new CalFacadeException(t); } sess.namedQuery("getSystemPars"); sess.setString("name", name); ...
public BwSystem getSyspars() throws CalFacadeException { if (syspars == null) { String name; try { name = CalEnv.getGlobalProperty("system.name"); } catch (Throwable t) { throw new CalFacadeException(t); } sess.namedQuery("getSystemPars"); sess.setString("name", getSyste...
1,119,585
public BwSystem getSyspars() throws CalFacadeException { if (syspars == null) { String name; try { name = CalEnv.getGlobalProperty("system.name"); } catch (Throwable t) { throw new CalFacadeException(t); } sess.namedQuery("getSystemPars"); sess.setString("name", name); ...
public BwSystem getSyspars() throws CalFacadeException { if (syspars == null) { String name; try { name = CalEnv.getGlobalProperty("system.name"); } catch (Throwable t) { throw new CalFacadeException(t); } sess.namedQuery("getSystemPars"); sess.setString("name", name); ...
1,119,586
public boolean init(String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { super.init(url, authent...
public boolean init(String systemName, String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { supe...
1,119,587
public boolean init(String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { super.init(url, authent...
public boolean init(String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { super.init(systemName, ...
1,119,588
public static String getSystemInformation() { String rtnValue = ""; rtnValue += "Date : "+new java.util.Date().toString()+"\n"; rtnValue += "os.name : "+System.getProperty("os.name")+"\n"; rtnValue += "os.version : "+System.getProperty("os.version")+"\n"; rtnValue += "os.arch : "+...
public static String getSystemInformation() { String rtnValue = ""; rtnValue += "Date : "+new java.util.Date().toString()+"\n"; rtnValue += "os.name : "+System.getProperty("os.name")+"\n"; rtnValue += "os.version : "+System.getProperty("os.version")+"\n"; rtnValue += "os.arch : "+...
1,119,589
public SolidLineWDstClosedArrow() { this.setFill(true); this.setFillXOR(false); this.setOutline(true); this.setOutlineXOR(false); this.setLineWidth(1); this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); setTargetDecoration(createTargetDecoration()); }
public SolidLineWDstClosedArrow() { this.setFill(true); this.setFillXOR(false); this.setOutline(true); this.setOutlineXOR(false); this.setLineWidth(1); this.setLineStyle(Graphics.LINE_SOLID); setTargetDecoration(createTargetDecoration()); }
1,119,591
private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() { org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration(); df.setFill(true); df.setFillXOR(false); df.setOutline(true); df.setOutlineXOR(false); df.setLineWidth(1); df.setLineStyle(org.eclipse.draw2d.Gra...
private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() { org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration(); df.setFill(true); df.setFillXOR(false); df.setOutline(true); df.setOutlineXOR(false); df.setLineWidth(1); df.setLineStyle(org.eclipse.draw2d.Gra...
1,119,592
private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() { org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration(); df.setFill(true); df.setFillXOR(false); df.setOutline(true); df.setOutlineXOR(false); df.setLineWidth(1); df.setLineStyle(org.eclipse.draw2d.Gra...
private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() { org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration(); df.setFill(true); df.setFillXOR(false); df.setOutline(true); df.setOutlineXOR(false); df.setLineWidth(1); df.setLineStyle(org.eclipse.draw2d.Gra...
1,119,593
private boolean disableDoubleBuffering(Component c){ if(c instanceof JComponent == false) return false; JComponent jc = (JComponent)c; boolean wasBuffered = jc.isDoubleBuffered(); jc.setDoubleBuffered(false); return wasBuffered; }
private boolean disableDoubleBuffering(Component c){ if(c instanceof JComponent == false) return false; JComponent jc = (JComponent)c; boolean wasBuffered = jc.isDoubleBuffered(); jc.setDoubleBuffered(false); return wasBuffered; }
1,119,594
private boolean disableDoubleBuffering(Component c){ if(c instanceof JComponent == false) return false; JComponent jc = (JComponent)c; boolean wasBuffered = jc.isDoubleBuffered(); jc.setDoubleBuffered(false); return wasBuffered; }
private boolean disableDoubleBuffering(Component c){ if(c instanceof JComponent == false) return false; JComponent jc = (JComponent)c; boolean wasBuffered = jc.isDoubleBuffered(); jc.setDoubleBuffered(false); }
1,119,595
private void restoreDoubleBuffering(Component c, boolean wasBuffered){ if(c instanceof JComponent) ((JComponent)c).setDoubleBuffered(wasBuffered); }
private void restoreDoubleBuffering(Component c, boolean wasBuffered){ if(c instanceof JComponent) ((JComponent)c).setDoubleBuffered(wasBuffered); }
1,119,596
public void write(OutputStream out) throws Exception { DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = dfactory.newDocumentBuilder(); org.w3c.dom.Document outNode = docBuilder.newDocument(); javax.xml.transform.TransformerFactory tfact...
public void write(OutputStream out) throws Exception { DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = dfactory.newDocumentBuilder(); org.w3c.dom.Document outNode = docBuilder.newDocument(); javax.xml.transform.TransformerFactory tfact...
1,119,597
private char[] getAclChars(BwShareableDbentity ent) throws CalFacadeException { if (ent instanceof BwShareableContainedDbentity) { BwCalendar container; if (ent instanceof BwCalendar) { container = (BwCalendar)ent; } else { container = ((BwShareableContainedDbentity)ent).getCalendar();...
private char[] getAclChars(BwShareableDbentity ent) throws CalFacadeException { if (ent instanceof BwShareableContainedDbentity) { BwCalendar container; if (ent instanceof BwCalendar) { container = (BwCalendar)ent; } else { container = ((BwShareableContainedDbentity)ent).getCalendar();...
1,119,598
private char[] getAclChars(BwShareableDbentity ent) throws CalFacadeException { if (ent instanceof BwShareableContainedDbentity) { BwCalendar container; if (ent instanceof BwCalendar) { container = (BwCalendar)ent; } else { container = ((BwShareableContainedDbentity)ent).getCalendar();...
private char[] getAclChars(BwShareableDbentity ent) throws CalFacadeException { if (ent instanceof BwShareableContainedDbentity) { BwCalendar container; if (ent instanceof BwCalendar) { container = (BwCalendar)ent; } else { container = ((BwShareableContainedDbentity)ent).getCalendar();...
1,119,599
private char[] getAclChars(BwShareableDbentity ent) throws CalFacadeException { if (ent instanceof BwShareableContainedDbentity) { BwCalendar container; if (ent instanceof BwCalendar) { container = (BwCalendar)ent; } else { container = ((BwShareableContainedDbentity)ent).getCalendar();...
private char[] getAclChars(BwShareableDbentity ent) throws CalFacadeException { if (ent instanceof BwShareableContainedDbentity) { BwCalendar container; if (ent instanceof BwCalendar) { container = (BwCalendar)ent; } else { container = ((BwShareableContainedDbentity)ent).getCalendar();...
1,119,600
public void addEQSelectionListener(EQSelectionListener listener) { System.out.println(listener); listenerList.add(EQSelectionListener.class, listener); EventAccessOperations[] selectedEvents = getSelectedEvents(); if (selectedEvents.length > 0) { listener.eqSelectionChanged(new EQSelectionEvent(this, getSele...
public void addEQSelectionListener(EQSelectionListener listener) { listenerList.add(EQSelectionListener.class, listener); EventAccessOperations[] selectedEvents = getSelectedEvents(); if (selectedEvents.length > 0) { listener.eqSelectionChanged(new EQSelectionEvent(this, getSelectedEvents())); } }
1,119,601
public void eqSelectionChanged(EQSelectionEvent eqSelectionEvent) { OMEvent selected = null; List deselected = new ArrayList(); synchronized (circles) { System.out.println(eqSelectionEvent.getEvents()); Iterator it = circles.iterator(); while (it.hasNext()) { OMEvent current = (OMEvent) it.next(); Syste...
public void eqSelectionChanged(EQSelectionEvent eqSelectionEvent) { OMEvent selected = null; List deselected = new ArrayList(); synchronized (circles) { Iterator it = circles.iterator(); while (it.hasNext()) { OMEvent current = (OMEvent) it.next(); System.out.println(current.getEvent()); if (current...
1,119,602
public void eqSelectionChanged(EQSelectionEvent eqSelectionEvent) { OMEvent selected = null; List deselected = new ArrayList(); synchronized (circles) { System.out.println(eqSelectionEvent.getEvents()); Iterator it = circles.iterator(); while (it.hasNext()) { OMEvent current = (OMEvent) it.next(); Syste...
public void eqSelectionChanged(EQSelectionEvent eqSelectionEvent) { OMEvent selected = null; List deselected = new ArrayList(); synchronized (circles) { System.out.println(eqSelectionEvent.getEvents()); Iterator it = circles.iterator(); while (it.hasNext()) { OMEvent current = (OMEvent) it.next(); i...
1,119,603
protected void setUp() throws Exception { this.stubDao = new ComplexStubPersonAttributeDao(); super.setUp(); Map user1 = new HashMap(); user1.put("phone", "777-7777"); user1.put("displayName", "Display Name"); Map user2 = new HashMap(); user2....
protected void setUp() throws Exception { this.stubDao = new ComplexStubPersonAttributeDao(); super.setUp(); Map user1 = new HashMap(); user1.put("phone", "777-7777"); user1.put("displayName", "Display Name"); Map user2 = new HashMap(); user2....
1,119,604
public void testCacheStats() { CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(new HashMap()); assertEquals("Query count incorrect", 0, d...
public void testCacheStats() { CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(new HashMap()); assertEquals("Query count incorrect", 0, d...
1,119,605
public void testCacheStats() { CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(new HashMap()); assertEquals("Query count incorrect", 0, d...
public void testCacheStats() { CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(new HashMap()); assertEquals("Query count incorrect", 0, d...
1,119,606
public void testCacheStats() { CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(new HashMap()); assertEquals("Query count incorrect", 0, d...
public void testCacheStats() { CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(new HashMap()); assertEquals("Query count incorrect", 0, d...
1,119,607
public void testCacheStats() { CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(new HashMap()); assertEquals("Query count incorrect", 0, d...
public void testCacheStats() { CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(new HashMap()); assertEquals("Query count incorrect", 0, d...
1,119,608
public void testCaching() { Map cacheMap = new HashMap(); CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(cacheMap); asser...
public void testCaching() { Map cacheMap = new HashMap(); CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(cacheMap); asser...
1,119,609
public void testCaching() { Map cacheMap = new HashMap(); CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(cacheMap); asser...
public void testCaching() { Map cacheMap = new HashMap(); CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(cacheMap); asser...
1,119,610
public void testCaching() { Map cacheMap = new HashMap(); CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(cacheMap); asser...
public void testCaching() { Map cacheMap = new HashMap(); CachingPersonAttributeDaoImpl dao = new CachingPersonAttributeDaoImpl(); dao.setCachedPersonAttributesDao(this.stubDao); dao.setDefaultAttributeName(defaultAttr); dao.setUserInfoCache(cacheMap); asser...
1,119,611