bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public String[] getSeismogramNames() { return getAllAsStrings("dataset/SacSeismogram/name/text()"); }
public String[] getSeismogramNames() { return getAllAsStrings("SacSeismogram/name/text()"); }
1,119,395
public static void main (String[] args) { try { BasicConfigurator.configure(); System.out.println("Starting.."); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); // just for testing Document doc = docBuilder.pa...
public static void main (String[] args) { try { BasicConfigurator.configure(); System.out.println("Starting.."); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); // just for testing Document doc = docBuilder.pa...
1,119,396
public static void main (String[] args) { try { BasicConfigurator.configure(); System.out.println("Starting.."); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); // just for testing Document doc = docBuilder.pa...
public static void main (String[] args) { try { BasicConfigurator.configure(); System.out.println("Starting.."); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); // just for testing Document doc = docBuilder.pa...
1,119,397
public void goToPrevious() { try { int index = previousURLs.size() - 1; System.out.println("index = "+ index); if (index >= 0) { URL prev = (URL)previousURLs.get(index); previousURLs.remove(index); URL current = getPage(); nextURLs.add(current); setPage(prev); } } catch (Exception exc) { sho...
public void goToPrevious() { try { int index = previousURLs.size() - 1; if (index >= 0) { URL prev = (URL)previousURLs.get(index); previousURLs.remove(index); URL current = getPage(); nextURLs.add(current); setPage(prev); } } catch (Exception exc) { showError(new Exception(Messages.getStrin...
1,119,398
public void showError(Throwable t) { try { super.setPage(resourceToURL("htmlerror.html")); // bad workaround: setText("<center>"+ t.getLocalizedMessage() +"</center>");// does not work -- why??// HTMLDocument doc = (HTMLDocument)getDocument();// Element msgElem = doc.getElement("message");// doc.setInnerH...
public void showError(Throwable t) { try { super.setPage(resourceToURL("htmlerror.html")); // bad workaround: // does not work -- why??// HTMLDocument doc = (HTMLDocument)getDocument();// Element msgElem = doc.getElement("message");// doc.setInnerHTML(msgElem, Messages.getString("HTMLPane.LOAD_ERROR"));//...
1,119,399
private void drag(int dragAmount, int dragFrom, SeismogramShapeIterator iterator){ double pointsPerPixel = iterator.getPointsPerPixel(); int[] seisPoints = currentIterator.getSeisPoints(); seisPoints[0] =(int)-(iterator.getTotalShift() * pointsPerPixel) + iterator.getBaseSe...
private void drag(int dragAmount, int dragFrom, SeismogramShapeIterator iterator){ double pointsPerPixel = iterator.getPointsPerPixel(); int[] seisPoints = currentIterator.getSeisPoints(); seisPoints[0] =(int)-(iterator.getTotalShift() * pointsPerPixel) + iterator.getBaseSe...
1,119,400
public void dragPlot(SeismogramShapeIterator iterator){ iterator.copyBasicInfo(currentIterator); double shiftPercentage = getShiftPercentage(currentIterator.getTime(), iterator.getTime()); double pixelShift = currentIterator.getSize().width ...
public void dragPlot(SeismogramShapeIterator iterator){ iterator.copyBasicInfo(currentIterator); double shiftPercentage = getShiftPercentage(currentIterator.getTime(), iterator.getTime()); double pixelShift = currentIterator.getSize().width ...
1,119,401
public int[] getPixels(SeismogramShapeIterator iterator){ int[] displayPixels = new int[2]; int[] seisPoints = iterator.getSeisPoints(); double pointsPerPixel = iterator.getPointsPerPixel(); int displayWidth = iterator.getSize().width; double seisPointRange = seisPoints[1] - seisP...
public int[] getPixels(SeismogramShapeIterator iterator){ int[] displayPixels = new int[2]; int[] seisPoints = iterator.getSeisPoints(); double pointsPerPixel = iterator.getPointsPerPixel(); int displayWidth = iterator.getSize().width; double seisPointRange = seisPoints[1] - seisP...
1,119,402
public PersonAttributeMappingQuery(final DataSource ds, final String sql) { super(ds, sql); //Assume to parameters needed if the query attribute list is null if (queryAttributes != null) { //Configures the SQL parameters, everything is assumed to be VA...
public PersonAttributeMappingQuery(final DataSource ds, final String sql) { super(ds, sql); //Assume to parameters needed if the query attribute list is null if (queryAttributes != null) { //Configures the SQL parameters, everything is assumed to be VA...
1,119,403
public void setColumnsToAttributes(final Map columnsToAttributesMap) { if (columnsToAttributesMap != null) { this.attributeMappings = MultivaluedPersonAttributeUtils.parseAttributeToAttributeMapping(columnsToAttributesMap); final Collection userAttributeCol = MultivaluedPersonAttributeU...
public void setColumnsToAttributes(final Map columnsToAttributesMap) { if (columnsToAttributesMap != null) { this.attributeMappings = MultivaluedPersonAttributeUtils.parseAttributeToAttributeMapping(columnsToAttributesMap); final Collection userAttributeCol = MultivaluedPersonAttributeU...
1,119,404
public void setColumnsToAttributes(final Map columnsToAttributesMap) { if (columnsToAttributesMap != null) { this.attributeMappings = MultivaluedPersonAttributeUtils.parseAttributeToAttributeMapping(columnsToAttributesMap); final Collection userAttributeCol = MultivaluedPersonAttributeU...
public void setColumnsToAttributes(final Map columnsToAttributesMap) { if (columnsToAttributesMap != null) { this.attributeMappings = MultivaluedPersonAttributeUtils.parseAttributeToAttributeMapping(columnsToAttributesMap); final Collection userAttributeCol = MultivaluedPersonAttributeU...
1,119,405
public ATText base__oppls_(ATObject other) throws InterpreterException { return NATText.atValue(javaValue + other.asNativeText().javaValue); }
public ATText base__oppls_(ATObject other) throws InterpreterException { return NATText.atValue(javaValue + (other.isNativeText() ? other.asNativeText().javaValue : other.meta_print().javaValue)); }
1,119,407
private Hashtable getFirstResponse() throws KortathjonustanAuthorizationException { Hashtable properties = null; //System.out.println(" ------ REQUEST ------"); //long lStartTime = System.currentTimeMillis(); try { SSLClient client = getSSLClient(); StringBuffer strPostData = new StringBuffer(); appendProper...
private Hashtable getFirstResponse() throws KortathjonustanAuthorizationException { Hashtable properties = null; //System.out.println(" ------ REQUEST ------"); //long lStartTime = System.currentTimeMillis(); try { SSLClient client = getSSLClient(); StringBuffer strPostData = new StringBuffer(); appendProper...
1,119,408
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
1,119,409
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
1,119,410
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
1,119,411
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
1,119,412
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
1,119,413
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
1,119,414
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
1,119,415
public ATObject base_unittest_(ATClosure code) throws NATException { OBJUnit clone = new OBJUnit(); NATObject extension = new NATObject( /* dynamic parent */ clone, /* lexical parent */ code.getContext().getLexicalScope(), /* parent pointer type */ NATObject._SHARES_A_); clone.ctx_ = new NATCont...
public ATObject base_unittest_(ATClosure code) throws NATException { OBJUnit clone = new OBJUnit(); NATObject extension = new NATObject( /* dynamic parent */ clone, /* lexical parent */ code.getContext().getLexicalScope(), /* parent pointer type */ NATObject._SHARES_A_); clone.ctx_ = new NATCont...
1,119,416
public static RT130ToLocalSeismogram create(Properties props) throws FileNotFoundException, IOException { PropParser pp = new PropParser(props); NCFile ncFile = new NCFile(pp.getPath(NCFile.NC_FILE_LOC)); logger.debug("NC file location: " + ncFile.getCanonicalPath()); String x...
public static RT130ToLocalSeismogram create(Properties props) throws FileNotFoundException, IOException { PropParser pp = new PropParser(props); NCFile ncFile = new NCFile(pp.getPath(NCFile.NC_FILE_LOC)); logger.debug("NC file location: " + ncFile.getCanonicalPath()); String x...
1,119,417
public static RT130ToLocalSeismogram create(Properties props) throws FileNotFoundException, IOException { PropParser pp = new PropParser(props); NCFile ncFile = new NCFile(pp.getPath(NCFile.NC_FILE_LOC)); logger.debug("NC file location: " + ncFile.getCanonicalPath()); String x...
public static RT130ToLocalSeismogram create(Properties props) throws FileNotFoundException, IOException { PropParser pp = new PropParser(props); NCFile ncFile = new NCFile(pp.getPath(NCFile.NC_FILE_LOC)); logger.debug("NC file location: " + ncFile.getCanonicalPath()); String x...
1,119,418
private Channel createChannel(PacketType seismogramData, Sampling sampling) { String stationCode = ncFile.getUnitName(seismogramData.begin_time_from_first_data_file, seismogramData.unitIdNumber); Time networkBeginTime = ncFile.network_begin_time.getFissur...
private Channel createChannel(PacketType seismogramData, Sampling sampling) { String stationCode = ncFile.getUnitName(seismogramData.begin_time_from_first_data_file, seismogramData.unitIdNumber); Time networkBeginTime = ncFile.network_begin_time.getFissur...
1,119,419
private String checkName(ICFile designFolder, String name) { if (name == null || name.length() == 0) { name = DEFAULT_NAME; } Collection existingNames = null; if(designFolder!=null){ existingNames = new ArrayList(); Iterator iterator = designFolder.getChildren(); while (iterator.hasNext()) { ICTreeNode ...
private String checkName(ICFile designFolder, String name) { if (name == null || name.length() == 0) { name = DEFAULT_NAME; } Collection existingNames = null; if(designFolder!=null){ existingNames = new ArrayList(); Iterator iterator = designFolder.getChildren(); while (iterator.hasNext()) { ICTreeNode ...
1,119,420
public void testWrite() throws Exception { System.out.println("write"); Idea idea = new Idea("R&D"); Idea subIdea0WithQuotes = new Idea("\"Idea\""); idea.add(subIdea0WithQuotes); Idea subIdea1 = new Idea("Test"); idea.add(subIdea1); ByteArrayOutputStr...
public void testWrite() throws Exception { System.out.println("write"); Idea idea = new Idea("R&D"); Idea subIdea0WithQuotes = new Idea("\"Idea\""); idea.add(subIdea0WithQuotes); Idea subIdea1 = new Idea("Test"); idea.add(subIdea1); ByteArrayOutputStr...
1,119,421
public void testWrite() throws Exception { System.out.println("write"); Idea idea = new Idea("R&D"); Idea subIdea0WithQuotes = new Idea("\"Idea\""); idea.add(subIdea0WithQuotes); Idea subIdea1 = new Idea("Test"); idea.add(subIdea1); ByteArrayOutputStr...
public void testWrite() throws Exception { System.out.println("write"); Idea idea = new Idea("R&D"); Idea subIdea0WithQuotes = new Idea("\"Idea\""); idea.add(subIdea0WithQuotes); Idea subIdea1 = new Idea("Test"); idea.add(subIdea1); ByteArrayOutputStr...
1,119,422
public void run() { setProgressOwner(this); CacheNetworkAccess cache; logger.debug("Before networks"); if(configuredNetworks == null || configuredNetworks.length == 0) { NetworkAccess[] nets = netdc.a_finder().retrieve_all(); netDCToNetMap.put(netdc, nets); setProgressMax(this, nets.length+1);...
public void run() { setProgressOwner(this); CacheNetworkAccess cache; logger.debug("Before networks"); if(configuredNetworks == null || configuredNetworks.length == 0) { NetworkAccess[] nets = netdc.a_finder().retrieve_all(); netDCToNetMap.put(netdc, nets); setProgressMax(this, nets.length+1);...
1,119,423
public void run() { networkList.getSelectionModel().setSelectionInterval(0, networkList.getModel().getSize()); }
public void run() { networkList.getSelectionModel().setSelectionInterval(0, networkList.getModel().getSize()-1); }
1,119,424
public void run() { setProgressOwner(this); setProgressMax(this, 100); NetworkAccess[] nets = getSelectedNetworks(); logger.debug("There are "+nets.length+" selected networks."); try { synchronized (ChannelChooser.this) { if (this.equals(getStationLoader())) { clearStationsFromThread(); ...
public void run() { setProgressOwner(this); setProgressMax(this, 100); logger.debug("There are "+nets.length+" selected networks."); try { synchronized (ChannelChooser.this) { if (this.equals(getStationLoader())) { clearStationsFromThread(); } } int netProgressInc = 50 / nets.length...
1,119,425
public void initFrame(){ // setSize(new java.awt.Dimension (mywidth, myheight)); //setPreferredSize(new java.awt.Dimension (mywidth, myheight)); setLayout(new GridBagLayout()); gbc = new GridBagConstraints(); gbc.fill = gbc.BOTH; gbc.weightx = 1.0; gbc.weighty = 0...
public void initFrame(){ // setSize(new java.awt.Dimension (mywidth, myheight)); //setPreferredSize(new java.awt.Dimension (mywidth, myheight)); setLayout(new GridBagLayout()); gbc = new GridBagConstraints(); gbc.fill = gbc.BOTH; gbc.weightx = 1.0; gbc.weighty = 0...
1,119,426
public void valueChanged(ListSelectionEvent e) { if(e.getValueIsAdjusting()){ return; } StationLoader t = new StationLoader(); setStationLoader(t); t.start(); }
public void valueChanged(ListSelectionEvent e) { if(e.getValueIsAdjusting()){ return; } NetworkAccess[] selected = getSelectedNetworks(); StationLoader t = new StationLoader(selected); setStationLoader(t); t.start(...
1,119,427
public DataBlockette(int size) { this.info = new byte[size]; System.arraycopy(Utility.intToByteArray(getType()), 2, info, 0, 2); }
public DataBlockette(int size) { this.info = new byte[size]; System.arraycopy(Utility.intToByteArray(getType()), 2, info, 0, 2); }
1,119,428
public LocalSeismogram[] retrieve_seismograms(boolean verbose){ try { LocalSeismogram[] seis = seisDC.retrieve_seismograms(createRF()); if(verbose){ logger.info("Got "+seis.length+" seismograms."); for (int i = 0; i < seis.length; i++) { ...
public LocalSeismogram[] retrieve_seismograms(boolean verbose){ try { LocalSeismogram[] seis = seisDC.retrieve_seismograms(createRF()); if(verbose){ logger.info("Got "+seis.length+" seismograms."); for (int i = 0; i < seis.length; i++) { ...
1,119,429
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
1,119,430
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
1,119,431
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
1,119,432
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
1,119,433
public int deleteCalendar(BwCalendar val) throws CalFacadeException { /** Only allow delete if not in use */ if (getCal().checkCalendarRefs(val)) { return 2; } /* Remove from preferences */ getUserAuth().removeCalendar(null, val); /* Attempt to delete */ if (getCal().deleteCalendar(v...
public int deleteCalendar(BwCalendar val) throws CalFacadeException { /** Only allow delete if not in use */ if (getCal().checkCalendarRefs(val)) { return 2; } /* Remove from preferences */ if (pars.getPublicAdmin()) { getUserAuth().removeCalendar(null, val); } /* Attempt to delete */ ...
1,119,434
public Calendars(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalendarRootP...
public Calendars(Calintf cal, AccessUtil access, int currentMode, boolean debug) throws CalFacadeException { super(cal, access, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalendarRootPath = "/" + getSyspars(...
1,119,436
public Calendars(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalendarRootP...
public Calendars(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, currentMode, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalendarRootPath = "/" + get...
1,119,437
private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismos = creator.getSeismograms(); DataSetSeismogram[][] componentSorted = DisplayUtils.getComponents(creatorSeismos, "." + creator.getColor()); Arrival[] parentArrivals = creator.getParent().getArriva...
private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismos = creator.getSeismograms(); DataSetSeismogram[][] componentSorted = DisplayUtils.getComponents(creatorSeismos, "." + creator.getColor()); Arrival[] parentArrivals = creator.getParent().getArriva...
1,119,439
public void remove3CSelectionDisplay(){ Iterator e = basicDisplays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).clear3CSelections(); } if(threeSelectionWindow != null){ threeSelectionWindow.dispose(); threeSelectionWindow = null; threeSelectionDisplay.removeAll(); threeSele...
public void remove3CSelectionDisplay(){ Iterator e = basicDisplays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).clearThreeCSelections(); } if(threeSelectionWindow != null){ threeSelectionWindow.dispose(); threeSelectionWindow = null; threeSelectionDisplay.removeAll(); three...
1,119,440
public static Class[] getAllInterfaces(Class c) { List interfaces = new ArrayList(); while(!c.equals(Object.class)) { interfaces.addAll(Arrays.asList(c.getInterfaces())); c = c.getSuperclass(); } return (Class[])interfaces.toArray(new Class[0]); }
public static Class[] getAllInterfaces(Class c) { List interfaces = new ArrayList(); if (c.isInterface()) { interfaces.add(c); } while( c != null && !c.equals(Object.class) ) { interfaces.addAll(Arrays.asList(c.getInterfaces())); c = c.getSuperclass(); } return (Cl...
1,119,443
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
1,119,444
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
1,119,445
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
1,119,446
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
1,119,447
public void remove(MouseEvent me);
public void remove();
1,119,448
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
1,119,449
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
1,119,450
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
1,119,451
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
1,119,452
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
1,119,453
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
1,119,454
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
1,119,455
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
1,119,456
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ removeSelectionDisplay(); }else{ remove3CSelectionDisplay(); } }
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ removeSelectionDisplay(); }else if(display != null){ remove3CSelectionDisplay(); } }
1,119,458
protected void decorateView(View containerView, View view, IAdaptable semanticAdapter, String semanticHint, int index, boolean persisted) { if (semanticHint == null) { semanticHint = UMLVisualIDRegistry.getType(org.eclipse.uml2.diagram.profile.edit.parts.StereotypeAttributesEditPart.VISUAL_ID); view.setType(seman...
protected void decorateView(View containerView, View view, IAdaptable semanticAdapter, String semanticHint, int index, boolean persisted) { if (semanticHint == null) { semanticHint = UMLVisualIDRegistry.getType(StereotypeAttributesEditPart.VISUAL_ID); view.setType(semanticHint); } super.decorateView(containerVi...
1,119,459
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 220); JToolBar infoBar = new JToolBar...
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 220); JToolBar infoBar = new JToolBar...
1,119,460
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 220); JToolBar infoBar = new JToolBar...
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 220); JToolBar infoBar = new JToolBar...
1,119,461
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
1,119,462
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
1,119,463
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
1,119,464
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
1,119,465
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
1,119,466
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
1,119,467
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
1,119,468
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
1,119,469
public EventLayer(EventTableModel tableModel, ListSelectionModel lsm, MapBean mapBean){ this.tableModel = tableModel; selectionModel = lsm; tableModel.addEventDataListener(this); eventDataChanged(new EQDataEvent(this, tableModel.getAllEvents())); selectionModel.addListSelectionListener(new ListSelectionListene...
public EventLayer(EventTableModel tableModel, ListSelectionModel lsm, MapBean mapBean){ this.tableModel = tableModel; selectionModel = lsm; tableModel.addEventDataListener(this); eventDataChanged(new EQDataEvent(this, tableModel.getAllEvents())); selectionModel.addListSelectionListener(new ListSelectionListene...
1,119,470
public void valueChanged(ListSelectionEvent e) { List selectedEvents = new ArrayList(); EventAccessOperations[] allEvents = getTableModel().getAllEvents(); for (int i = 0; i < allEvents.length; i++) { if (selectionModel.isSelectedIndex(i)){ selectedEvents.add(allEvents[i]); } ...
public void valueChanged(ListSelectionEvent e) { List selectedEvents = new ArrayList(); EventAccessOperations[] allEvents = getTableModel().getAllEvents(); for (int i = 0; i < allEvents.length; i++) { if (selectionModel.isSelectedIndex(i)){ selectedEvents.add(allEvents[i]); } ...
1,119,471
public void endTransaction() throws CalFacadeException { checkOpen(); if (debug) { log.debug("End transaction for " + objTimestamp); } /* Update the lastmods for any changed users * / Iterator it = personalModified.iterator(); while (it.hasNext()) { BwUser u = (BwUser)it.next(); }*/...
public void endTransaction() throws CalFacadeException { checkOpen(); if (debug) { log.debug("End transaction for " + objTimestamp); } /* Update the lastmods for any changed users * / Iterator it = personalModified.iterator(); while (it.hasNext()) { BwUser u = (BwUser)it.next(); }*/...
1,119,472
public void refreshEvents() throws CalFacadeException { checkOpen(); sess.flush(); }
public void refreshEvents() throws CalFacadeException { checkOpen(); }
1,119,473
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme...
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme...
1,119,474
public static MicroSecondDate microSecondDateFromPSN(PSNDateTime time){ Timestamp timeStamp = new Timestamp(time.getYear(), time.getMonth(), time.getDay(), time.getHour(), ...
public static MicroSecondDate microSecondDateFromPSN(PSNDateTime time){ Timestamp timeStamp = new Timestamp(time.getYear(), time.getMonth(), time.getDay(), time.getHour(), ...
1,119,476
public void testMessageSending() { testParse( "object.no().demeter().law", " ( begin ( select ( send ( send (symbol object) ( apply (symbol no) ) ) ( apply (symbol demeter) ) ) (symbol law) ) )"); testParse( "object.keyworded: message send: test", " ( begin ( send (symbol object) ( appl...
public void testMessageSending() { testParse( "object.no().demeter().law", " ( begin ( select ( send ( send (symbol object) ( apply (symbol no) (table)) ) ( apply (symbol demeter) (table) ) ) (symbol law) ) )"); testParse( "object.keyworded: message send: test", " ( begin ( send (symbol...
1,119,477
public void testPointDefinition() { testParse( "def point := object: { x, y | \n" + " def getX() { x }; \n" + " def getY() { y }; \n" + " def withX: anX Y: aY { \n" + " x := anX; \n" + " y := anY \n" + " } \n" + "} \n", "(begin" + "(define-field (symbol point)" + ...
public void testPointDefinition() { testParse( "def point := object: { x, y | \n" + " def getX() { x }; \n" + " def getY() { y }; \n" + " def withX: anX Y: aY { \n" + " x := anX; \n" + " y := anY \n" + " } \n" + "} \n", "(begin" + "(define-field (symbol point)" + ...
1,119,478
public ATObject base_object_(ATClosure code) throws NATException { NATObject newObject = new NATObject(code.getContext().getLexicalScope()); code.getMethod().getBody().meta_eval(new NATContext(newObject, newObject, NATNil._INSTANCE_)); return newObject; }
public ATObject base_object_(ATClosure code) throws NATException { NATObject newObject = new NATObject(code.getContext().getLexicalScope()); code.getMethod().getBodyExpression().meta_eval(new NATContext(newObject, newObject, NATNil._INSTANCE_)); return newObject; }
1,119,481
public void execute() { if(dataSetSeismogram.length == 1) { dataSetSeismogram = retrieve_seismograms(); } else { channelGroup = new ChannelId[dataSetSeismogram.length]; for(int counter = 0; counter < dataSetSeismogram.length; counter++) { channelGroup[counter] = dataSetSeismogram[counter].getSeismogram...
public void execute() { if(dataSetSeismogram.length == 1) { dataSetSeismogram = retrieve_seismograms(); } else { channelGroup = new ChannelId[dataSetSeismogram.length]; for(int counter = 0; counter < dataSetSeismogram.length; counter++) { channelGroup[counter] = dataSetSeismogram[counter].getSeismogram...
1,119,482
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } String reqpar = request.getParameter("delete"); if (reqpar != null)...
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } String reqpar = request.getParameter("delete"); if (reqpar != null)...
1,119,483
public void beginTransaction() throws CalFacadeException { checkOpen();// sess.close(); if (debug) { log.debug("Begin transaction for " + objTimestamp); } sess.beginTransaction(); }
public void beginTransaction() throws CalFacadeException { checkOpen();// sess.close(); if (debug) { debug("Begin transaction for " + objTimestamp); } sess.beginTransaction(); }
1,119,484
public synchronized void close() throws CalFacadeException { if (!isOpen) { if (debug) { log.debug("Close for " + objTimestamp + " closed session"); } return; } if (debug) { log.debug("Close for " + objTimestamp); } try { if (sess != null) { if (sess.transactionSt...
public synchronized void close() throws CalFacadeException { if (!isOpen) { if (debug) { debug("Close for " + objTimestamp + " closed session"); } return; } if (debug) { log.debug("Close for " + objTimestamp); } try { if (sess != null) { if (sess.transactionStarte...
1,119,485
public synchronized void close() throws CalFacadeException { if (!isOpen) { if (debug) { log.debug("Close for " + objTimestamp + " closed session"); } return; } if (debug) { log.debug("Close for " + objTimestamp); } try { if (sess != null) { if (sess.transactionSt...
public synchronized void close() throws CalFacadeException { if (!isOpen) { if (debug) { log.debug("Close for " + objTimestamp + " closed session"); } return; } if (debug) { debug("Close for " + objTimestamp); } try { if (sess != null) { if (sess.transactionStarte...
1,119,486
public void endTransaction() throws CalFacadeException { checkOpen(); if (debug) { log.debug("End transaction for " + objTimestamp); } /* Update the lastmods for any changed users * / Iterator it = personalModified.iterator(); while (it.hasNext()) { BwUser u = (BwUser)it.next(); }*/...
public void endTransaction() throws CalFacadeException { checkOpen(); if (debug) { debug("End transaction for " + objTimestamp); } /* Update the lastmods for any changed users * / Iterator it = personalModified.iterator(); while (it.hasNext()) { BwUser u = (BwUser)it.next(); }*/ ...
1,119,487
public void flushAll() throws CalFacadeException { if (debug) { log.debug("flushAll for " + objTimestamp); } if (sess == null) { return; } try { if (sess.isOpen()) { sess.reconnect(); // for close sess.close(); } } finally { isOpen = false; sess = null; } }
public void flushAll() throws CalFacadeException { if (debug) { debug("flushAll for " + objTimestamp); } if (sess == null) { return; } try { if (sess.isOpen()) { sess.reconnect(); // for close sess.close(); } } finally { isOpen = false; sess = null; } }
1,119,488
public BwUser getUser() throws CalFacadeException { return user; }
public BwUser getUser() throws CalFacadeException { return user; }
1,119,489
public boolean init(String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = debug; boolean userCreated = false; B...
public boolean init(String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = debug; boolean userCreated =...
1,119,490
public boolean init(String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = debug; boolean userCreated = false; B...
public boolean init(String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { super.init(url, authenticatedUser, user, publicAdmin, gr...
1,119,491
public boolean init(String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = debug; boolean userCreated = false; B...
public boolean init(String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = debug; boolean userCreated = false; B...
1,119,492
private void logon(BwUser val) throws CalFacadeException { checkOpen(); Timestamp now = new Timestamp(System.currentTimeMillis()); val.setLogon(now); val.setLastAccess(now); sess.update(val); }
public void logon(BwUser val) throws CalFacadeException { checkOpen(); Timestamp now = new Timestamp(System.currentTimeMillis()); val.setLogon(now); val.setLastAccess(now); sess.update(val); }
1,119,493
public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { log.debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, log); } else ...
public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, log); } else { ...
1,119,494
public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { log.debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, log); } else ...
public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { log.debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, getLogger()); ...
1,119,495
public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { log.debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, log); } else ...
public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { log.debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, log); } else ...
1,119,496
public void updateUser() throws CalFacadeException { updateUser(getUser()); }
public void updateUser() throws CalFacadeException { updateUser(getUser()); }
1,119,497
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ...
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new OutputPin3CreateCommand(req)); } if (UML...
1,119,498
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ...
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ...
1,119,499
public String getLabel(int i) { if (isLabelTick(i)) { double value = minTick + i * tickInc; double absValue = Math.abs(value); // use regular notation DecimalFormat df; if (absValue > 1000 || absValue < .001) { // exponential notation ...
public String getLabel(int i) { if (isLabelTick(i)) { double value = minTick + i * tickInc; double absValue = Math.abs(value); // use regular notation DecimalFormat df; if (absValue < 10 && absValue != 0 ) { // exponential notation ...
1,119,501
public LocalSeismogram apply(LocalSeismogram seis){ if(seismo.can_convert_to_float()){ float[] fSeries = seis.get_as_floats(); return new LocalSeismogramImpl(seis, apply(fSeries)); }else{ int[] iSeries = seismo.get_as_longs(); return new LocalSeismogramImpl(seis, apply(iSeries)); } }
public LocalSeismogram apply(LocalSeismogram seis){ if(seismo.can_convert_to_float()){ float[] fSeries = seis.get_as_floats(); return new LocalSeismogramImpl(seis, apply(fSeries)); }else{ int[] iSeries = seismo.get_as_longs(); return new LocalSeismogramImpl(seis, apply(iSeries)); } }
1,119,502
public LocalSeismogram apply(LocalSeismogram seis){ if(seismo.can_convert_to_float()){ float[] fSeries = seis.get_as_floats(); return new LocalSeismogramImpl(seis, apply(fSeries)); }else{ int[] iSeries = seismo.get_as_longs(); return new LocalSeismogramImpl(seis, apply(iSeries)); } }
public LocalSeismogram apply(LocalSeismogram seis){ if(seismo.can_convert_to_float()){ float[] fSeries = seis.get_as_floats(); return new LocalSeismogramImpl(seis, apply(fSeries)); }else{ int[] iSeries = seis.get_as_longs(); return new LocalSeismogramImpl(seis, apply(iSeries)); } }
1,119,503
public boolean contains(double x, double y, double w, double h){ logger.debug("calling contains(double, double, double, double)"); return false; }
public boolean contains(double x, double y, double w, double h){ return false; }
1,119,504