bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public Object asinh(Object param) throws ParseException { if (param instanceof Number) { Complex temp = new Complex(((Number)param).doubleValue(),0.0); return temp.asinh(); } else if (param instanceof Complex) { return ((Complex)param).asinh(); } throw new ParseException("Invalid parameter type"); } | public Object asinh(Object param) throws ParseException { if (param instanceof Complex) { return ((Complex)param).asinh(); } else if (param instanceof Number) { Complex temp = new Complex(((Number)param).doubleValue(),0.0); return temp.asinh(); } else if (param instanceof Complex) { return ((Complex)par... | 1,115,357 |
public Object asinh(Object param) throws ParseException { if (param instanceof Number) { Complex temp = new Complex(((Number)param).doubleValue(),0.0); return temp.asinh(); } else if (param instanceof Complex) { return ((Complex)param).asinh(); } throw new ParseException("Invalid parameter type"); } | public Object asinh(Object param) throws ParseException { if (param instanceof Number) { Complex temp = new Complex(((Number)param).doubleValue(),0.0); return temp.asinh(); } else if (param instanceof Complex) { return ((Complex)param).asinh(); } throw new ParseException("Invalid parameter type"); } | 1,115,358 |
public static void deleteContentsRecursive(File file) throws IOException { File[] files = file.listFiles(); if(files==null) return; // the directory didn't exist in the first place for (File child : files) { if (child.isDirectory()) deleteContentsRecursi... | public static void deleteContentsRecursive(File file) throws IOException { File[] files = file.listFiles(); if(files==null) return; // the directory didn't exist in the first place for (File child : files) { if (child.isDirectory()) deleteContentsRecursi... | 1,115,359 |
public static void deleteRecursive(File dir) throws IOException { deleteContentsRecursive(dir); if(!dir.delete()) throw new IOException("Unable to delete "+dir); } | public static void deleteRecursive(File dir) throws IOException { deleteContentsRecursive(dir); if(!dir.delete()) throw new IOException("Unable to delete "+dir); } | 1,115,360 |
public synchronized RunT getLastFailedBuild() { RunT r = getLastBuild(); while(r!=null && r.getResult()!=Result.FAILURE) r=r.getPreviousBuild(); return r; } | public synchronized RunT getLastFailedBuild() { RunT r = getLastBuild(); while(r!=null && (r.isBuilding() || r.getResult()!=Result.FAILURE)) r=r.getPreviousBuild(); return r; } | 1,115,361 |
public synchronized RunT getLastStableBuild() { RunT r = getLastBuild(); while(r!=null && (r.getResult()==null || r.getResult().isWorseThan(Result.SUCCESS))) r=r.getPreviousBuild(); return r; } | public synchronized RunT getLastStableBuild() { RunT r = getLastBuild(); while(r!=null && (r.isBuilding() || r.getResult().isWorseThan(Result.SUCCESS))) r=r.getPreviousBuild(); return r; } | 1,115,362 |
public synchronized RunT getLastSuccessfulBuild() { RunT r = getLastBuild(); while(r!=null && (r.getResult()==null || r.getResult().isWorseThan(Result.UNSTABLE))) r=r.getPreviousBuild(); return r; } | public synchronized RunT getLastSuccessfulBuild() { RunT r = getLastBuild(); while(r!=null && (r.isBuilding() || r.getResult().isWorseThan(Result.UNSTABLE))) r=r.getPreviousBuild(); return r; } | 1,115,363 |
static void forwardToRss( Object it, String title, StaplerRequest req, HttpServletResponse rsp, Collection<? extends Run> runs) throws IOException, ServletException { GregorianCalendar threshold = new GregorianCalendar(); threshold.add(Calendar.DAY_OF_YEAR,-7); int count=0; for (Iterator... | static void forwardToRss( Object it, String title, StaplerRequest req, HttpServletResponse rsp, Collection<? extends Run> runs) throws IOException, ServletException { GregorianCalendar threshold = new GregorianCalendar(); threshold.add(Calendar.DAY_OF_YEAR,-7); int count=0; for (Iterator... | 1,115,364 |
static void forwardToRss( Object it, String title, StaplerRequest req, HttpServletResponse rsp, Collection<? extends Run> runs) throws IOException, ServletException { GregorianCalendar threshold = new GregorianCalendar(); threshold.add(Calendar.DAY_OF_YEAR,-7); int count=0; for (Iterator... | static void forwardToRss( Object it, String title, StaplerRequest req, HttpServletResponse rsp, Collection<? extends Run> runs) throws IOException, ServletException { GregorianCalendar threshold = new GregorianCalendar(); threshold.add(Calendar.DAY_OF_YEAR,-7); int count=0; for (Iterator... | 1,115,365 |
public int[] getDBIds(int[] possibleStaDbIds, String site_code) throws SQLException, NotFound { List ids = new ArrayList(); for(int i = 0; i < possibleStaDbIds.length; i++) { getDBIdsForStaAndCode.setInt(1, possibleStaDbIds[i]); getDBIdsForStaAndCode.setString(2, site_... | public int[] getDBIds(int[] possibleStaDbIds, String site_code) throws SQLException, NotFound { List ids = new ArrayList(); for(int i = 0; i < possibleStaDbIds.length; i++) { getDBIdsForStaAndCode.setInt(1, possibleStaDbIds[i]); getDBIdsForStaAndCode.setString(2, site_... | 1,115,366 |
public JDBCStation(Connection conn) throws SQLException { this(conn, new JDBCLocation(conn), new JDBCNetwork(conn), new JDBCTime(conn)); } | public JDBCStation(Connection conn) throws SQLException { this(conn, new JDBCLocation(conn), new JDBCNetwork(conn), new JDBCTime(conn)); } | 1,115,367 |
public int put(Station sta) throws SQLException { int dbid; try { dbid = getDBId(sta.get_id()); // No NotFound exception, so already added the id // now check if the attrs are added getIfNameExists.setInt(1, dbid); ResultSet rs = getIfNameExists.e... | public int put(Station sta) throws SQLException { int dbid; try { dbid = getDBId(sta.get_id()); // No NotFound exception, so already added the id // now check if the attrs are added getIfNameExists.setInt(1, dbid); ResultSet rs = getIfNameExists.e... | 1,115,368 |
public MacroFunctionDiffRules(DJep djep,MacroFunction fun) throws ParseException { //super(dv); name = fun.getName(); pfmc = fun; XSymbolTable localSymTab = (XSymbolTable) ((XSymbolTable) djep.getSymbolTable()).newInstance(); //new SymbolTable(); localSymTab.copyConstants(djep.getSymbolTable()); D... | public MacroFunctionDiffRules(DJep djep,MacroFunction fun) throws ParseException { //super(dv); name = fun.getName(); pfmc = fun; XSymbolTable localSymTab = (XSymbolTable) ((XSymbolTable) djep.getSymbolTable()).newInstance(); //new SymbolTable(); localSymTab.copyConstants(djep.getSymbolTable()); D... | 1,115,369 |
public XJep newInstance(SymbolTable st) { DJep newJep = new DJep(this); newJep.symTab = st; return newJep; } | public XJep newInstance() { DJep newJep = new DJep(this); newJep.symTab = st; return newJep; } | 1,115,370 |
public XJep newInstance(SymbolTable st) { DJep newJep = new DJep(this); newJep.symTab = st; return newJep; } | public XJep newInstance(SymbolTable st) { DJep newJep = new DJep(this); return newJep; } | 1,115,371 |
private void createNewMagmaDownload() { String magmaFileName = magmaTF.getText().trim(); if (magmaFileName.length() == 0) { return; } File file = new File(magmaFileName); if (!file.exists()) { return; } try { S... | private void createNewMagmaDownload() { String magmaFileName = magmaTF.getText().trim(); if (magmaFileName.length() == 0) { return; } File file = new File(magmaFileName); if (!file.exists()) { return; } try { S... | 1,115,372 |
private void createNewRSSDownload() { String rssFileName = rssTF.getText().trim(); if (rssFileName.length() == 0) { return; } File file = new File(rssFileName); if (!file.exists()) { return; } try { Reader read... | private void createNewRSSDownload() { String rssFileName = rssTF.getText().trim(); if (rssFileName.length() == 0) { return; } File file = new File(rssFileName); if (!file.exists()) { return; } try { Reader read... | 1,115,373 |
public static void magmaReadout( File file ) { try { BufferedInputStream inStream = new BufferedInputStream( new FileInputStream( file ) ); MagmaParser parser = new MagmaParser( inStream ); parser.start(); List magnetList = parser.getMagnets(); It... | public static void magmaReadout( File file ) { try { BufferedInputStream inStream = new BufferedInputStream( new FileInputStream( file ) ); MagmaParser parser = new MagmaParser( inStream ); parser.start(); List magnetList = parser.getMagnets(); It... | 1,115,374 |
public static void rssReadout( File file ) { if (!file.exists()) { return; } try { Reader reader = new BufferedReader(new FileReader(file)); RSSParser parser = new RSSParser(reader); parser.start(); List magnetList = pa... | public static void rssReadout( File file ) { if (!file.exists()) { return; } try { Reader reader = new BufferedReader(new FileReader(file)); RSSParser parser = new RSSParser(reader); parser.start(); List magnetList = pa... | 1,115,375 |
public ChangeLogSet parse(File changelogFile) throws IOException, SAXException { return ChangeLogSet.EMPTY; } | public ChangeLogSet parse(Build build, File changelogFile) throws IOException, SAXException { return ChangeLogSet.EMPTY; } | 1,115,377 |
public abstract ChangeLogSet parse(File changelogFile) throws IOException, SAXException; | public abstract ChangeLogSet parse(Build build, File changelogFile) throws IOException, SAXException; | 1,115,378 |
public Number getInverse(Number a) { return sub(zeroPoly,(FreeGroupElement) a); } | public Number getInverse(Number a) { return sub(zeroPoly,a); } | 1,115,379 |
public static ThemeInfo getCurrentTheme( String lafClassName ) { if ( Options.PLASTICXP_NAME.equals( lafClassName ) ) { PlasticTheme myCurrentTheme = PlasticLookAndFeel.getMyCurrentTheme(); if ( myCurrentTheme == null ) { return null; } ... | public static ThemeInfo getCurrentTheme( String lafClassName ) { if ( Options.PLASTICXP_NAME.equals( lafClassName ) ) { PlasticTheme myCurrentTheme = PlasticLookAndFeel.getPlasticTheme(); if ( myCurrentTheme == null ) { return null; } ... | 1,115,380 |
private static void initPlasticThemes() { if ( plasticThemes == null ) { String classPrefix = "com.jgoodies.looks.plastic.theme."; plasticThemes = new ThemeInfo[18]; plasticThemes[0] = new ThemeInfo( "BrownSugar", classPrefix + "BrownSugar" ); plasticThem... | private static void initPlasticThemes() { if ( plasticThemes == null ) { String classPrefix = "com.jgoodies.looks.plastic.theme."; plasticThemes = new ThemeInfo[18]; plasticThemes[0] = new ThemeInfo( "BrownSugar", classPrefix + "BrownSugar" ); plasticThem... | 1,115,381 |
private static void initPlasticThemes() { if ( plasticThemes == null ) { String classPrefix = "com.jgoodies.looks.plastic.theme."; plasticThemes = new ThemeInfo[18]; plasticThemes[0] = new ThemeInfo( "BrownSugar", classPrefix + "BrownSugar" ); plasticThem... | private static void initPlasticThemes() { if ( plasticThemes == null ) { String classPrefix = "com.jgoodies.looks.plastic.theme."; plasticThemes = new ThemeInfo[18]; plasticThemes[0] = new ThemeInfo( "BrownSugar", classPrefix + "BrownSugar" ); plasticThem... | 1,115,382 |
private static void initPlasticThemes() { if ( plasticThemes == null ) { String classPrefix = "com.jgoodies.looks.plastic.theme."; plasticThemes = new ThemeInfo[18]; plasticThemes[0] = new ThemeInfo( "BrownSugar", classPrefix + "BrownSugar" ); plasticThem... | private static void initPlasticThemes() { if ( plasticThemes == null ) { String classPrefix = "com.jgoodies.looks.plastic.theme."; plasticThemes = new ThemeInfo[18]; plasticThemes[0] = new ThemeInfo( "BrownSugar", classPrefix + "BrownSugar" ); plasticThem... | 1,115,383 |
public static void setCurrentTheme( String lafClassName, Object theme ) { if ( lafClassName.equals( Options.PLASTICXP_NAME ) ) { PlasticLookAndFeel.setMyCurrentTheme( (PlasticTheme)theme ); try { // after setting the theme we must reset the PlasticLAF... | public static void setCurrentTheme( String lafClassName, Object theme ) { if ( lafClassName.equals( Options.PLASTICXP_NAME ) ) { PlasticLookAndFeel.setPlasticTheme( (PlasticTheme)theme ); try { // after setting the theme we must reset the PlasticLAF ... | 1,115,384 |
public Object sin(Object param) throws ParseException { if (param instanceof Number) { return new Double(Math.sin(((Number)param).doubleValue())); } else if (param instanceof Complex) { return ((Complex)param).sin(); } throw new ParseException("Invalid parameter type"); } | public Object sin(Object param) throws ParseException { if (param instanceof Number) { return new Double(Math.sin(((Number)param).doubleValue())); } else if (param instanceof Complex) { return ((Complex)param).sin(); } throw new ParseException("Invalid parameter type"); } | 1,115,385 |
public void addedService(ServiceReference ref, Object service) { if (doneBound && multiple) { for (Iterator iter = instances.iterator(); iter.hasNext();) { invokeEventMethod(iter.next(), bindMethodName, ref); } } else if (bound != null && !multiple) { Se... | public void addedService(ServiceReference ref, Object service) { if (doneBound && multiple) { for (Iterator iter = instances.iterator(); iter.hasNext();) { Object instance = iter.next(); invokeEventMethod(instance, bindMethodName, ref); } } else if (bound != null &... | 1,115,387 |
public void addedService(ServiceReference ref, Object service) { if (doneBound && multiple) { for (Iterator iter = instances.iterator(); iter.hasNext();) { invokeEventMethod(iter.next(), bindMethodName, ref); } } else if (bound != null && !multiple) { Se... | public void addedService(ServiceReference ref, Object service) { if (doneBound && multiple) { for (Iterator iter = instances.iterator(); iter.hasNext();) { invokeEventMethod(iter.next(), bindMethodName, ref); } } else if (bound != null && !multiple) { Se... | 1,115,388 |
public void bind(Object instance) { instances.add(instance); doneBound = true; if (multiple) { ServiceReference[] serviceReferences = getServiceReferences(); if (serviceReferences != null) { for (int i = 0; i < serviceReferences.length; i++) { ... | public void bind(Object instance) { instances.add(instance); doneBound = true; if (multiple) { ServiceReference[] serviceReferences = getServiceReferences(); if (serviceReferences != null) { for (int i = 0; i < serviceReferences.length; i++) { ... | 1,115,389 |
private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Method method = null; Bundle bundle = ref.getBundle(); // the bundle where the service is... | private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Method method = null; Bundle bundle = ref.getBundle(); // the bundle where the service is... | 1,115,390 |
private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Method method = null; Bundle bundle = ref.getBundle(); // the bundle where the service is... | private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Method method = null; Bundle bundle = ref.getBundle(); // the bundle where the service is... | 1,115,391 |
public void removingService(ServiceReference ref, Object service) { if (!isSatisfied(1)) { // Will be unsatisfied by this remove. overrideUnsatisfied = true; config.referenceUnsatisfied(); overrideUnsatisfied = false; } else { // Will continue to be satisfied. ... | public void removingService(ServiceReference ref, Object service) { if (!isSatisfied(1)) { // Will be unsatisfied by this remove. overrideUnsatisfied = true; config.referenceUnsatisfied(); overrideUnsatisfied = false; } else { // Will continue to be satisfied. ... | 1,115,392 |
public void removingService(ServiceReference ref, Object service) { if (!isSatisfied(1)) { // Will be unsatisfied by this remove. overrideUnsatisfied = true; config.referenceUnsatisfied(); overrideUnsatisfied = false; } else { // Will continue to be satisfied. ... | public void removingService(ServiceReference ref, Object service) { if (!isSatisfied(1)) { // Will be unsatisfied by this remove. overrideUnsatisfied = true; config.referenceUnsatisfied(); overrideUnsatisfied = false; } else { // Will continue to be satisfied. ... | 1,115,393 |
public void unbind(Object instance) { instances.remove(instance); if (!doneBound) return; doneBound = false; if (multiple) { ServiceReference[] serviceReferences = getServiceReferences(); if (serviceReferences != null) { for (int i = servic... | public void unbind(Object instance) { instances.remove(instance); if (!doneBound) return; doneBound = false; if (multiple) { ServiceReference[] serviceReferences = getServiceReferences(); if (serviceReferences != null) { for (int i = servic... | 1,115,394 |
public void unbind(Object instance) { instances.remove(instance); if (!doneBound) return; doneBound = false; if (multiple) { ServiceReference[] serviceReferences = getServiceReferences(); if (serviceReferences != null) { for (int i = servic... | public void unbind(Object instance) { instances.remove(instance); if (!doneBound) return; doneBound = false; if (multiple) { ServiceReference[] serviceReferences = getServiceReferences(); if (serviceReferences != null) { for (int i = servic... | 1,115,395 |
void ungetService(ServiceReference ref) { synchronized (tracking) { objects.remove(ref); context.ungetService(ref); } } | void ungetService(Object bindObject, ServiceReference ref) { synchronized (tracking) { objects.remove(ref); context.ungetService(ref); } } | 1,115,396 |
void ungetService(ServiceReference ref) { synchronized (tracking) { objects.remove(ref); context.ungetService(ref); } } | void ungetService(ServiceReference ref) { synchronized (tracking) { Object removeObject = objects.remove(ref); context.ungetService(ref); } } | 1,115,397 |
public Mash(Recipe r){ Options opts = new Options("mash"); mashRatio = opts.getDProperty("optMashRatio"); mashRatioU = opts.getProperty("optMashRatioU");; tempUnits = opts.getProperty("optMashTempU"); volUnits = opts.getProperty("optMashVolU"); grainTempF = opts.getDProperty("optGrainTemp"); boilTempF = ... | public Mash(Recipe r){ Options opts = r.opts; mashRatio = opts.getDProperty("optMashRatio"); mashRatioU = opts.getProperty("optMashRatioU");; tempUnits = opts.getProperty("optMashTempU"); volUnits = opts.getProperty("optMashVolU"); grainTempF = opts.getDProperty("optGrainTemp"); boilTempF = opts.getDProp... | 1,115,399 |
public double getBoilTemp() { if (tempUnits.equals("F")) return boilTempF; else return fToC(boilTempF); } | public double getBoilTemp() { if (tempUnits.equals("F")) return boilTempF; else return BrewCalcs.fToC(boilTempF); } | 1,115,400 |
public double getStepTemp(int i) { if (((MashStep)steps.get(i)).getTemp() == 0) return 0; if (tempUnits.equals("F")) return ((MashStep)steps.get(i)).getTemp(); else return fToC(((MashStep)steps.get(i)).getTemp()); } | public double getStepTemp(int i) { if (((MashStep)steps.get(i)).getTemp() == 0) return 0; if (tempUnits.equals("F")) return ((MashStep)steps.get(i)).getTemp(); else return BrewCalcs.fToC(((MashStep)steps.get(i)).getTemp()); } | 1,115,401 |
public void setBoilTemp(double t){ if (tempUnits.equals("F")) boilTempF = t; else boilTempF = cToF(t); calcMashSchedule(); } | public void setBoilTemp(double t){ if (tempUnits.equals("F")) boilTempF = t; else boilTempF = BrewCalcs.cToF(t); calcMashSchedule(); } | 1,115,402 |
public String toXml() { StringBuffer sb = new StringBuffer(); sb.append(" <MASH>\n"); sb.append(SBStringUtils.xmlElement("MASH_VOLUME", SBStringUtils.format(Quantity.convertUnit("qt", volUnits, volQts), 2) , 4)); sb.append(SBStringUtils.xmlElement("MASH_VOL_U", "" + volUnits, 4)); sb.append(SBStringUtils.xmlEl... | public String toXml() { StringBuffer sb = new StringBuffer(); sb.append(" <MASH>\n"); sb.append(SBStringUtils.xmlElement("MASH_VOLUME", SBStringUtils.format(Quantity.convertUnit("qt", volUnits, volQts), 2) , 4)); sb.append(SBStringUtils.xmlElement("MASH_VOL_U", "" + volUnits, 4)); sb.append(SBStringUtils.xmlEl... | 1,115,403 |
public String toXml() { StringBuffer sb = new StringBuffer(); sb.append(" <MASH>\n"); sb.append(SBStringUtils.xmlElement("MASH_VOLUME", SBStringUtils.format(Quantity.convertUnit("qt", volUnits, volQts), 2) , 4)); sb.append(SBStringUtils.xmlElement("MASH_VOL_U", "" + volUnits, 4)); sb.append(SBStringUtils.xmlEl... | public String toXml() { StringBuffer sb = new StringBuffer(); sb.append(" <MASH>\n"); sb.append(SBStringUtils.xmlElement("MASH_VOLUME", SBStringUtils.format(Quantity.convertUnit("qt", volUnits, volQts), 2) , 4)); sb.append(SBStringUtils.xmlElement("MASH_VOL_U", "" + volUnits, 4)); sb.append(SBStringUtils.xmlEl... | 1,115,404 |
public String toXml() { StringBuffer sb = new StringBuffer(); sb.append(" <MASH>\n"); sb.append(SBStringUtils.xmlElement("MASH_VOLUME", SBStringUtils.format(Quantity.convertUnit("qt", volUnits, volQts), 2) , 4)); sb.append(SBStringUtils.xmlElement("MASH_VOL_U", "" + volUnits, 4)); sb.append(SBStringUtils.xmlEl... | public String toXml() { StringBuffer sb = new StringBuffer(); sb.append(" <MASH>\n"); sb.append(SBStringUtils.xmlElement("MASH_VOLUME", SBStringUtils.format(Quantity.convertUnit("qt", volUnits, volQts), 2) , 4)); sb.append(SBStringUtils.xmlElement("MASH_VOL_U", "" + volUnits, 4)); sb.append(SBStringUtils.xmlEl... | 1,115,405 |
public GWebCacheContainer() { NLogger.debug( NLoggerNames.GWEBCACHE, "Initializing GWebCacheContainer" ); allGWebCaches = new ArrayList(); phexGWebCaches = new ArrayList(); functionalGWebCaches = new ArrayList(); uniqueGWebCacheURLs = new HashSet( ); sortedGWebCaches = n... | public GWebCacheContainer() { NLogger.debug( NLoggerNames.GWEBCACHE, "Initializing GWebCacheContainer" ); allGWebCaches = new ArrayList(); phexGWebCaches = new ArrayList(); functionalGWebCaches = new ArrayList(); uniqueGWebCacheURLs = new HashSet( ); sortedGWebCaches = n... | 1,115,406 |
public boolean updateRemoteGWebCache( DestAddress myHostAddress, boolean preferPhex ) { String fullHostName = null; if ( myHostAddress != null ) { fullHostName = myHostAddress.getFullHostName(); } int retrys = 0; boolean succ = false; do { ... | public boolean updateRemoteGWebCache( DestAddress myHostAddress, boolean preferPhex ) { String fullHostName = null; if ( myHostAddress != null ) { fullHostName = myHostAddress.getFullHostName(); } int retrys = 0; boolean succ = false; do { ... | 1,115,408 |
public void addCaughtHost( DestAddress address, short priority ) { boolean valid = isValidCaughtHostAddress( address ); if ( !valid ) { return; } CaughtHost caughtHost = new CaughtHost( address ); addPersistentCaughtHost( caughtHost ); addToCaug... | public boolean addCaughtHost( PongMsg pongMsg ) { boolean valid = isValidCaughtHostAddress( address ); if ( !valid ) { return; } CaughtHost caughtHost = new CaughtHost( address ); addPersistentCaughtHost( caughtHost ); addToCaughtHostFetcher( ca... | 1,115,409 |
public void addCaughtHost( DestAddress address, short priority ) { boolean valid = isValidCaughtHostAddress( address ); if ( !valid ) { return; } CaughtHost caughtHost = new CaughtHost( address ); addPersistentCaughtHost( caughtHost ); addToCaug... | public void addCaughtHost( DestAddress address, short priority ) { boolean valid = isValidCaughtHostAddress( address ); if ( !valid ) { return; } CaughtHost caughtHost = new CaughtHost( address ); addPersistentCaughtHost( caughtHost ); addToCaug... | 1,115,410 |
public void addCaughtHost( DestAddress address, short priority ) { boolean valid = isValidCaughtHostAddress( address ); if ( !valid ) { return; } CaughtHost caughtHost = new CaughtHost( address ); addPersistentCaughtHost( caughtHost ); addToCaug... | public void addCaughtHost( DestAddress address, short priority ) { boolean valid = isValidCaughtHostAddress( address ); if ( !valid ) { return; } CaughtHost caughtHost = new CaughtHost( address ); addPersistentCaughtHost( caughtHost ); boolean i... | 1,115,411 |
final int addVar(Variable var){ Object index = varRefs.get(var); if(index==null) { int size = varRefs.size(); expandVarArray(size+1); varRefs.put(var,new Integer(size)); copyFromVar(var,size); var.addObserver(this); return size; } else { return ((Integer) index).intValue(); } } | final int addVar(Variable var){ Object index = varRefs.get(var); if(index==null) { int size = varRefs.size(); expandVarArray(size+1); varRefs.put(var,new Integer(size)); copyFromVar(var,size); var.addObserver(this); return size; } else { return ((Integer) index).intValue(); } } | 1,115,412 |
public RpEval(JEP jep) { this.jep = jep; this.opSet = jep.getOperatorSet(); } | public RpEval(JEP jep) { this.opSet = jep.getOperatorSet(); } | 1,115,413 |
private File getHomeDir(ServletContextEvent event) { // check JNDI for the home directory first try { Context env = (Context) new InitialContext().lookup("java:comp/env"); String value = (String) env.lookup("HUDSON_HOME"); if(value!=null && value.trim().length()>0) ... | private File getHomeDir(ServletContextEvent event) { // check JNDI for the home directory first try { Context env = (Context) new InitialContext().lookup("java:comp/env") String value = (String) env.lookup("HUDSON_HOME") if(value!=null && value.trim().length()>0) ... | 1,115,414 |
public String getString(String option, String defaultValue) { assert(isValidOption(option)); String value = getValue(option); if (value == null) return defaultValue; return value; } | public String getString(String option) { assert(isValidOption(option)); String value = getValue(option); if (value == null) return defaultValue; return value; } | 1,115,416 |
public String getString(String option, String defaultValue) { assert(isValidOption(option)); String value = getValue(option); if (value == null) return defaultValue; return value; } | public String getString(String option, String defaultValue) { assert(isValidOption(option)); String value = getValue(option); if (value == null) return defaultValue; return value; } | 1,115,417 |
public void displayRecipe() { if (myRecipe == null) return; txtName.setText(myRecipe.getName()); brewerNameText.setText(myRecipe.getBrewer()); txtPreBoil.setValue(new Double(myRecipe.getPreBoilVol(myRecipe.getVolUnits()))); lblSizeUnits.setText(myRecipe.getVolUnits()); postBoilText.setValue(new Double(myRecipe... | public void displayRecipe() { if (myRecipe == null) return; txtName.setText(myRecipe.getName()); brewerNameText.setText(myRecipe.getBrewer()); txtPreBoil.setValue(new Double(myRecipe.getPreBoilVol(myRecipe.getVolUnits()))); lblSizeUnits.setText(myRecipe.getVolUnits()); postBoilText.setValue(new Double(myRecipe... | 1,115,419 |
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca... | private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca... | 1,115,420 |
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca... | private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca... | 1,115,421 |
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca... | private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca... | 1,115,422 |
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca... | private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca... | 1,115,424 |
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca... | private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca... | 1,115,425 |
public void doGraph( StaplerRequest req, StaplerResponse rsp) throws IOException { if(awtProblem) { // not available. send out error message rsp.sendRedirect2(req.getContextPath()+"/images/headless.png"); return; } try { if(req.checkIfModified(owner.g... | public void doGraph( StaplerRequest req, StaplerResponse rsp) throws IOException { if(awtProblem) { // not available. send out error message rsp.sendRedirect2(req.getContextPath()+"/images/headless.png"); return; } try { if(req.checkIfModified(owner.g... | 1,115,426 |
public T getPreviousResult() { Build b = owner; while(true) { b = b.getPreviousBuild(); if(b==null) return null; if(b.getResult()== Result.FAILURE) continue; T r = (T)b.getAction(getClass()); if(r!=null) ... | public T getPreviousResult() { Build b = owner; while(true) { b = b.getPreviousBuild(); if(b==null) return null; if(b.getResult()== Result.FAILURE) continue; T r = (T)b.getAction(getClass()); if(r!=null) ... | 1,115,427 |
public <T extends Action> T getAction(Class<T> type) { for (Action a : getActions()) { if(type.isInstance(a)) return (T)a; // type.cast() not available in JDK 1.4 } return null; } | public <T extends Action> T getAction(Class<T> type) { for (Action a : getActions()) { if(type.isInstance(a)) return (T)a; // type.cast() not available in JDK 1.4 } return null; } | 1,115,428 |
public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | 1,115,429 |
public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | 1,115,430 |
public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | 1,115,431 |
public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | 1,115,432 |
public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | 1,115,433 |
public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | 1,115,434 |
public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | 1,115,435 |
public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | public void processResponse( QueryResponseMsg msg ) { //we like to receive results even if the query was stopped already. // check if it is a response for this query? if (!msg.getHeader().getMsgID().equals( queryMsg.getHeader().getMsgID())) { return; } ... | 1,115,436 |
public abstract void processResponse( QueryResponseMsg msg ); | public abstract void processResponse( QueryResponseMsg msg ) throws InvalidMessageException; | 1,115,437 |
public Node differentiate(ASTFunNode node,String var,Node [] children,Node [] dchildren,DJep djep) throws ParseException { OperatorSet op = djep.getOperatorSet(); NodeFactory nf = djep.getNodeFactory(); TreeUtils tu = djep.getTreeUtils(); FunctionTable funTab = djep.getFunctionTable(); int nchild = node.jjtGetNumCh... | public Node differentiate(ASTFunNode node,String var,Node [] children,Node [] dchildren,DJep djep) throws ParseException { OperatorSet op = djep.getOperatorSet(); NodeFactory nf = djep.getNodeFactory(); TreeUtils tu = djep.getTreeUtils(); FunctionTable funTab = djep.getFunctionTable(); int nchild = node.jjtGetNumCh... | 1,115,439 |
public Node differentiate(ASTFunNode node,String var,Node [] children,Node [] dchildren,DJep djep) throws ParseException { OperatorSet op = djep.getOperatorSet(); NodeFactory nf = djep.getNodeFactory(); TreeUtils tu = djep.getTreeUtils(); FunctionTable funTab = djep.getFunctionTable(); int nchild = node.jjtGetNumCh... | public Node differentiate(ASTFunNode node,String var,Node [] children,Node [] dchildren,DJep djep) throws ParseException { OperatorSet op = djep.getOperatorSet(); NodeFactory nf = djep.getNodeFactory(); TreeUtils tu = djep.getTreeUtils(); FunctionTable funTab = djep.getFunctionTable(); int nchild = node.jjtGetNumCh... | 1,115,440 |
public Node differentiate(ASTFunNode node,String var,Node [] children,Node [] dchildren,DJep djep) throws ParseException { OperatorSet op = djep.getOperatorSet(); NodeFactory nf = djep.getNodeFactory(); TreeUtils tu = djep.getTreeUtils(); FunctionTable funTab = djep.getFunctionTable(); int nchild = node.jjtGetNumCh... | public Node differentiate(ASTFunNode node,String var,Node [] children,Node [] dchildren,DJep djep) throws ParseException { OperatorSet op = djep.getOperatorSet(); NodeFactory nf = djep.getNodeFactory(); TreeUtils tu = djep.getTreeUtils(); FunctionTable funTab = djep.getFunctionTable(); int nchild = node.jjtGetNumCh... | 1,115,441 |
public static void sheduledReadout( URI uri, long time ) { try { // dont add already downloading urns. MagnetData magnetData = MagnetData.parseFromURI(uri); URN urn = MagnetData.lookupSHA1URN(magnetData); SwarmingManager swarmingMgr = SwarmingManager.getInstance(); ... | public static void sheduledReadout( URI uri, long time ) { try { // dont add already downloading urns. MagnetData magnetData = MagnetData.parseFromURI(uri); URN urn = MagnetData.lookupSHA1URN(magnetData); SwarmingManager swarmingMgr = SwarmingManager.getInstance(); ... | 1,115,442 |
public PluginWrapper(PluginManager owner, File archive) throws IOException { LOGGER.info("Loading plugin: "+archive); this.shortName = getShortName(archive); boolean isLinked = archive.getName().endsWith(".hpl"); File expandDir = null; // if .hpi, this is the directory where war is expa... | public PluginWrapper(PluginManager owner, File archive) throws IOException { LOGGER.info("Loading plugin: "+archive); this.shortName = getShortName(archive); boolean isLinked = archive.getName().endsWith(".hpl"); File expandDir = null; // if .hpi, this is the directory where war is expa... | 1,115,443 |
public PluginWrapper(PluginManager owner, File archive) throws IOException { LOGGER.info("Loading plugin: "+archive); this.shortName = getShortName(archive); boolean isLinked = archive.getName().endsWith(".hpl"); File expandDir = null; // if .hpi, this is the directory where war is expa... | public PluginWrapper(PluginManager owner, File archive) throws IOException { LOGGER.info("Loading plugin: "+archive); this.shortName = getShortName(archive); boolean isLinked = archive.getName().endsWith(".hpl"); File expandDir = null; // if .hpi, this is the directory where war is expa... | 1,115,444 |
public Shape draw(Dimension size){ System.out.println("drawing a seismogram"); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversized... | public Shape draw(Dimension size){ logger.debug("drawing a seismogram"); GeneralPath currentShape = new GeneralPath(); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConf... | 1,115,445 |
public Shape draw(Dimension size){ System.out.println("drawing a seismogram"); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversized... | public Shape draw(Dimension size){ System.out.println("drawing a seismogram"); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversized... | 1,115,446 |
public String toString(PrintVisitor pv) { StringBuffer sb = new StringBuffer(name); sb.append(": val "+getValue() ); if(!hasValidValue()) sb.append("(invalid)"); sb.append(" "); if(getEquation()!=null) sb.append(pv.toString(getEquation())); else sb.append("no equation"); return sb.toString(); } | public String toString(PrintVisitor pv) { StringBuffer sb = new StringBuffer(name); sb.append(": val "+getValue() ); if(!hasValidValue()) sb.append("(invalid)"); sb.append(" "); if(getEquation()!=null) sb.append(pv.toString(getEquation())); else sb.append("no equation"); return sb.toString(); } | 1,115,447 |
public PlottableDisplay() { super(); removeAll(); final Color bg = Color.white; final Color fg = Color.yellow; //Initialize drawing colors, border, opacity. setBackground(bg); setForeground(fg); setBorder(BorderFactory.createCompoundBorder( Borde... | public PlottableDisplay() { super(); removeAll(); final Color bg = Color.white; final Color fg = Color.yellow; //Initialize drawing colors, border, opacity. setBackground(bg); setForeground(fg); setBorder(BorderFactory.createCompoundBorder( Borde... | 1,115,448 |
private void drawHighlightRegion(Graphics g) { // get new graphics to avoid messing up original Graphics2D newG = (Graphics2D)g.create(); if(g != currentImageGraphics) { newG.translate(labelXShift, titleYShift); newG.clipRect(0, 0, plot_x/plotrows, plot_y +(plotoffset * (plotrows-1))); } in... | private void drawHighlightRegion(Graphics g) { // get new graphics to avoid messing up original Graphics2D newG = (Graphics2D)g.create(); if(g != currentImageGraphics) { newG.translate(labelXShift, titleYShift); newG.clipRect(0, 0, plot_x/plotrows, plot_y +(plotoffset * (plotrows-1))); } in... | 1,115,451 |
private void drawHighlightRegion(Graphics g) { // get new graphics to avoid messing up original Graphics2D newG = (Graphics2D)g.create(); if(g != currentImageGraphics) { newG.translate(labelXShift, titleYShift); newG.clipRect(0, 0, plot_x/plotrows, plot_y +(plotoffset * (plotrows-1))); } in... | private void drawHighlightRegion(Graphics g) { // get new graphics to avoid messing up original Graphics2D newG = (Graphics2D)g.create(); if(g != currentImageGraphics) { newG.translate(labelXShift, titleYShift); newG.clipRect(0, 0, plot_x/plotrows, plot_y +(plotoffset * (plotrows-1))); } in... | 1,115,452 |
private void drawHighlightRegion(Graphics g) { // get new graphics to avoid messing up original Graphics2D newG = (Graphics2D)g.create(); if(g != currentImageGraphics) { newG.translate(labelXShift, titleYShift); newG.clipRect(0, 0, plot_x/plotrows, plot_y +(plotoffset * (plotrows-1))); } in... | private void drawHighlightRegion(Graphics g) { // get new graphics to avoid messing up original Graphics2D newG = (Graphics2D)g.create(); if(g != currentImageGraphics) { newG.translate(labelXShift, titleYShift); newG.clipRect(0, 0, plot_x/plotrows, plot_y +(plotoffset * (plotrows-1))); } in... | 1,115,453 |
public String getGeographicRegionName(int geoNum) { String propValue = feProps.getProperty("GeogRegion"+geoNum); if (propValue != null && propValue.length > 1) { return propValue; } return "GeoRegion"+geoNum; } | public String getGeographicRegionName(int geoNum) { String propValue = feProps.getProperty("GeogRegion"+geoNum); if (propValue != null && propValue.length() > 1) { return propValue; } return "GeoRegion"+geoNum; } | 1,115,454 |
public String getSeismicRegionName(int seisNum) { String propValue = feProps.getProperty("SeismicRegion"+seisNum); if (propValue != null && propValue.length > 1) { return propValue; } return "SeisRegion"+seisNum; } | public String getSeismicRegionName(int seisNum) { String propValue = feProps.getProperty("SeismicRegion"+seisNum); if (propValue != null && propValue.length() > 1) { return propValue; } return "SeisRegion"+seisNum; } | 1,115,455 |
private void setDefaults(Properties d) { if (type.equals("strangebrew")) { for (int i = 0; i<optionString.length; i++) { d.put(optionString[i][0], optionString[i][1]); } } else if (type.equals("mash")){ d.put("optMashVolU", "gallons US"); d.put("optMashTempU", "F"); d.put("optMashRatioU", "... | private void setDefaults(Properties d) { if (type.equals("strangebrew")) { for (int i = 0; i<optionString.length; i++) { d.put(optionString[i][0], optionString[i][1]); } } /*else if (type.equals("mash")){ d.put("optMashVolU", "gallons US"); d.put("optMashTempU", "F"); d.put("optMashRatioU",... | 1,115,456 |
private void setDefaults(Properties d) { if (type.equals("strangebrew")) { for (int i = 0; i<optionString.length; i++) { d.put(optionString[i][0], optionString[i][1]); } } else if (type.equals("mash")){ d.put("optMashVolU", "gallons US"); d.put("optMashTempU", "F"); d.put("optMashRatioU", "... | private void setDefaults(Properties d) { if (type.equals("strangebrew")) { for (int i = 0; i<optionString.length; i++) { d.put(optionString[i][0], optionString[i][1]); }*/ }*/ else if (type.equals("mash")){ d.put("optMashVolU", "gallons US"); d.put("optMashTempU", "F"); d.put("optMashRatioU... | 1,115,457 |
public DataSetSeismogram (LocalSeismogramImpl seismo, DataSet ds){ this(seismo, ds, seismo.getName()); } | public DataSetSeismogram (LocalSeismogramImpl seismo, DataSet ds){ this(seismo, ds, seismo.getName()); } | 1,115,458 |
private void load(File buildDir) throws IOException { Reader r = new InputStreamReader(new FileInputStream(new File(buildDir,"build.xml")),"UTF-8"); createConfiguredStream().unmarshal(new XppReader(r),this); r.close(); } | private void load(File buildDir) throws IOException { Reader r = new InputStreamReader(new FileInputStream(new File(buildDir,"build.xml")),"UTF-8"); createConfiguredStream().unmarshal(new XppReader(r),this); r.close(); } | 1,115,459 |
public static UserRole userRoleFactory(User requiredUser, Service requiredService, String serviceExtension) { assertNotNull(requiredUser); assertNotNull(requiredService); UserRole userRole = new UserRole(); userRole.setUser(requiredUser); userRole.setService(requiredServic... | public static UserRole userRoleFactory(UserGroup requiredUser, Service requiredService, String serviceExtension) { assertNotNull(requiredUser); assertNotNull(requiredService); UserRole userRole = new UserRole(); userRole.setUser(requiredUser); userRole.setService(requiredS... | 1,115,460 |
public static UserRole userRoleFactory(User requiredUser, Service requiredService, String serviceExtension) { assertNotNull(requiredUser); assertNotNull(requiredService); UserRole userRole = new UserRole(); userRole.setUser(requiredUser); userRole.setService(requiredServic... | public static UserRole userRoleFactory(User requiredUser, Service requiredService, String serviceExtension) { assertNotNull(requiredUser); assertNotNull(requiredService); UserRole userRole = new UserRole(); userRole.setUserGroup(requiredUser); userRole.setService(requiredS... | 1,115,461 |
public void processEquation(Node node) throws ParseException { MatrixJep mj = (MatrixJep) j; if(verbose) { print("Parsed:\t\t"); println(mj.toString(node)); } Node processed = mj.preprocess(node); if(verbose) { print("Processed:\t"); println(mj.toString(processed)); } Node simp = mj.simplify(pr... | public void processEquation(Node node) throws ParseException { MatrixJep mj = (MatrixJep) j; if(verbose) { { print("Parsed:\t\t"); println(mj.toString(node)); } Node processed = mj.preprocess(node); if(verbose) { { print("Processed:\t"); println(mj.toString(processed)); } Node simp = mj.simplif... | 1,115,462 |
public void processEquation(Node node) throws ParseException { MatrixJep mj = (MatrixJep) j; if(verbose) { print("Parsed:\t\t"); println(mj.toString(node)); } Node processed = mj.preprocess(node); if(verbose) { print("Processed:\t"); println(mj.toString(processed)); } Node simp = mj.simplify(pr... | public void processEquation(Node node) throws ParseException { MatrixJep mj = (MatrixJep) j; if(verbose) { print("Parsed:\t\t"); println(mj.toString(node)); } Node processed = mj.preprocess(node); if(verbose) { print("Processed:\t"); println(mj.toString(processed)); } Node simp = mj.simplify(pr... | 1,115,463 |
public void printIntroText() { println("DJep: differentation in JEP. eg. diff(x^2,x)"); printStdHelp(); } | public void printIntroText() { println("DJep: differentiation in JEP. e.g. diff(x^2,x)"); printStdHelp(); } | 1,115,464 |
public synchronized void doDoDelete( StaplerRequest req, StaplerResponse rsp ) throws IOException { if(!Hudson.adminCheck(req,rsp)) return; Util.deleteRecursive(root); getParent().deleteJob(this); rsp.sendRedirect(req.getContextPath()); } | public synchronized void doDoDelete( StaplerRequest req, StaplerResponse rsp ) throws IOException { if(!Hudson.adminCheck(req,rsp)) return; Util.deleteRecursive(root); getParent().deleteJob(this); rsp.sendRedirect(req.getContextPath()+"/"); } | 1,115,465 |
public synchronized void addMagmaToDownload( File magmaFile ) //Is this still used anywhere? throws URIException, IOException { BufferedInputStream inStream = new BufferedInputStream( new FileInputStream( magmaFile ) ); MagmaParser parser = new MagmaParser( inStream ); pa... | public synchronized void addMagmaToDownload( File magmaFile ) //Is this still used anywhere? throws URIException, IOException { BufferedInputStream inStream = new BufferedInputStream( new FileInputStream( magmaFile ) ); MagmaParser parser = new MagmaParser( inStream ); pa... | 1,115,466 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.