bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public AppendTemplate(Display display, TextBox target) { super (display); this.target=target; if (target!=null) { addCommand(cmdSelect); } addCommand(cmdNew); addCommand(cmdDelete); addCommand(cmdBack); try { focusedItem(0); } catch (Exception e) {} setCommandListener(this); Title tit...
public AppendTemplate(Display display, MessageEdit target, int caretPos) { super (display); this.target=target; if (target!=null) { addCommand(cmdSelect); } addCommand(cmdNew); addCommand(cmdDelete); addCommand(cmdBack); try { focusedItem(0); } catch (Exception e) {} setCommandListener...
1,101,652
private void pasteData() { if (target==null) return; Msg m=getMessage(cursor); if (m==null) return; String data; data=m.getBody(); try { int paste=target.getMaxSize()-target.size(); if (paste>data.length()) paste=data.length(); target.insert(data.substring(0,paste), target.size()); } catch (Exception e)...
private void pasteData() { if (target==null) return; Msg m=getMessage(cursor); if (m==null) return; String data; data=m.getBody(); try { int paste=target.getMaxSize()-target.size(); if (paste>data.length()) paste=data.length(); target.insert(data.substring(0,paste), target.size()); } catch (Exception e)...
1,101,654
protected FreemarkerModel getRootModel() { EnunciateFreemarkerModel model = (EnunciateFreemarkerModel) super.getRootModel(); model.put("prefix", new PrefixMethod()); model.put("qname", new QNameMethod()); AnnotationProcessorEnvironment env = Context.getCurrentEnvironment(); Collection<TypeDeclaration> ...
protected FreemarkerModel getRootModel() { EnunciateFreemarkerModel model = (EnunciateFreemarkerModel) super.getRootModel(); model.put("prefix", new PrefixMethod()); model.put("qname", new QNameMethod()); AnnotationProcessorEnvironment env = Context.getCurrentEnvironment(); Collection<TypeDeclaration> ...
1,101,655
public static void writeKeyValueLine(String key, String text, int keyWidth, int lineWidth, String sep, String wrappedKey, PrintStream os) { if (key==null || text==null) return; // skip blank lines if (wrappedKey==null) wrappedKey=""; // stop null pointer exceptions on wrapped keys if (sep==null...
public static void writeKeyValueLine(String key, String text, int keyWidth, int lineWidth, String sep, String wrappedKey, PrintStream os) { if (key==null || text==null) return; // skip blank lines if (wrappedKey==null) wrappedKey=""; // stop null pointer exceptions on wrapped keys if (sep==null...
1,101,658
public Value divide(long v) throws KettleValueException { return divide(new Value("tmp", v)); }
public Value divide(BigDecimal v) throws KettleValueException { return divide(new Value("tmp", v)); }
1,101,659
public Value str2num(String pattern, String decimal, String grouping, String currency) throws KettleValueException { // 0 : pattern // 1 : Decimal separator // 2 : Grouping separator // 3 : Currency symbol if (isNull()) { setType(VALUE_TYPE_STRING); } else { if (getType()==VALUE_TYPE_STRING) { if (ge...
public Value str2num(String pattern, String decimal, String grouping, String currency) throws KettleValueException { // 0 : pattern // 1 : Decimal separator // 2 : Grouping separator // 3 : Currency symbol if (isNull()) { setType(VALUE_TYPE_STRING); } else { if (getType()==VALUE_TYPE_STRING) { if (ge...
1,101,660
public void println(int lvl, String subject, String msg) { // Are the message filtered? if (filter!=null && filter.length()>0) { if (subject.indexOf(filter)<0 && msg.indexOf(filter)<0) { return; // "filter" not found in row: don't show! } } if (lev...
public void println(int lvl, String msg) { // Are the message filtered? if (filter!=null && filter.length()>0) { if (subject.indexOf(filter)<0 && msg.indexOf(filter)<0) { return; // "filter" not found in row: don't show! } } if (level==0) return; ...
1,101,661
public void println(int lvl, String subject, String msg) { // Are the message filtered? if (filter!=null && filter.length()>0) { if (subject.indexOf(filter)<0 && msg.indexOf(filter)<0) { return; // "filter" not found in row: don't show! } } if (lev...
public void println(int lvl, String subject, String msg) { // Are the message filtered? if (filter!=null && filter.length()>0) { if (subject.indexOf(filter)<0 && msg.indexOf(filter)<0) { return; // "filter" not found in row: don't show! } } if (lev...
1,101,662
public ChefGraph(Composite par, int style, Chef je) { super(par, style); shell = par.getShell(); log = LogWriter.getInstance(); chef = je; canvas = this; newProps(); selrect = null; hop_candidate = null; last_hop_split = null; selected_entries = null; selected_note = null; hori = g...
public ChefGraph(Composite par, int style, Chef je) { super(par, style); shell = par.getShell(); log = LogWriter.getInstance(); chef = je; canvas = this; newProps(); selrect = null; hop_candidate = null; last_hop_split = null; selected_entries = null; selected_note = null; hori = g...
1,101,663
public ChefLog(Composite parent, int style, Chef chef) { super(parent, style); shell=parent.getShell(); this.log=LogWriter.getInstance(); display=shell.getDisplay(); this.chef=chef; FormLayout formLayout = new FormLayout (); formLayout.marginWidth = Const.FORM_MARGIN; formLayout.marginHeight = Const.FORM_...
public ChefLog(Composite parent, int style, Chef chef) { super(parent, style); shell=parent.getShell(); this.log=LogWriter.getInstance(); display=shell.getDisplay(); this.chef=chef; FormLayout formLayout = new FormLayout (); formLayout.marginWidth = Const.FORM_MARGIN; formLayout.marginHeight = Const.FORM_...
1,101,664
public void addNote(int p, NotePadMeta ni) { notes.add(p, ni); changed_notes = true; }
public void addNote(int p, NotePadMeta ni) { notes.add(p, ni); changed_notes = true; }
1,101,665
public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); processTemplate(getTemplateURL(), model); HashMap<String, String> ns2artifact = new HashMap<String, String>(); HashMap<String, String> service2artifact = new HashMap<String, String>(); ...
public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); processTemplate(getTemplateURL(), model); HashMap<String, String> ns2artifact = new HashMap<String, String>(); HashMap<String, String> service2artifact = new HashMap<String, String>(); ...
1,101,666
public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); processTemplate(getTemplateURL(), model); HashMap<String, String> ns2artifact = new HashMap<String, String>(); HashMap<String, String> service2artifact = new HashMap<String, String>(); ...
public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); processTemplate(getTemplateURL(), model); HashMap<String, String> ns2artifact = new HashMap<String, String>(); HashMap<String, String> service2artifact = new HashMap<String, String>(); ...
1,101,667
public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); processTemplate(getTemplateURL(), model); HashMap<String, String> ns2artifact = new HashMap<String, String>(); HashMap<String, String> service2artifact = new HashMap<String, String>(); ...
public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); processTemplate(getTemplateURL(), model); HashMap<String, String> ns2artifact = new HashMap<String, String>(); HashMap<String, String> service2artifact = new HashMap<String, String>(); ...
1,101,668
public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); processTemplate(getTemplateURL(), model); HashMap<String, String> ns2artifact = new HashMap<String, String>(); HashMap<String, String> service2artifact = new HashMap<String, String>(); ...
public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); processTemplate(getTemplateURL(), model); HashMap<String, String> ns2artifact = new HashMap<String, String>(); HashMap<String, String> service2artifact = new HashMap<String, String>(); ...
1,101,669
public ProviderNotFoundException(String message) { super(message); }
public ProviderNotFoundException(String message) { super(message); }
1,101,671
public Set<String> getImportedNamespaces() { Collection<EndpointInterface> endpointInterfaces = getEndpointInterfaces(); if ((endpointInterfaces == null) || (endpointInterfaces.size() == 0)) { throw new IllegalStateException("WSDL for " + getTargetNamespace() + " has no endpoint interfaces!"); } Tree...
public Set<String> getImportedNamespaces() { Collection<EndpointInterface> endpointInterfaces = getEndpointInterfaces(); if ((endpointInterfaces == null) || (endpointInterfaces.size() == 0)) { throw new IllegalStateException("WSDL for " + getTargetNamespace() + " has no endpoint interfaces!"); } Hash...
1,101,672
public Set<String> getReferencedNamespaces() { TreeSet<String> namespaces = new TreeSet<String>(); namespaces.add(getTargetNamespace()); Collection<WebMethod> webMethods = getWebMethods(); for (WebMethod webMethod : webMethods) { namespaces.addAll(webMethod.getReferencedNamespaces()); } return ...
public Set<String> getReferencedNamespaces() { HashSet<String> namespaces = new HashSet<String>(); namespaces.add(getTargetNamespace()); Collection<WebMethod> webMethods = getWebMethods(); for (WebMethod webMethod : webMethods) { namespaces.addAll(webMethod.getReferencedNamespaces()); } return ...
1,101,673
public IntrospectingTypeRegistry(String typeSetId) { super(true); InputStream typesList = getClass().getResourceAsStream("/" + typeSetId + ".types"); if (typesList == null) { throw new IllegalArgumentException("Unknown type set: " + typeSetId); } BufferedReader reader = new BufferedReader(new Inpu...
public IntrospectingTypeRegistry(String typeSetId) { super(true); InputStream typesList = getClass().getResourceAsStream("/" + typeSetId + ".types"); if (typesList == null) { throw new IllegalArgumentException("Unknown type set: " + typeSetId); } BufferedReader reader = new BufferedReader(new Inpu...
1,101,674
public /*@pure@*/ int execute() throws IOException, InterruptedException, SecurityException, IllegalArgumentException { return execute((Properties) null); }
public /*@pure@*/ int execute() throws IOException, InterruptedException, SecurityException, IllegalArgumentException { return execute((Properties) null); }
1,101,675
public /*@pure@*/ int execute() throws IOException, InterruptedException, SecurityException, IllegalArgumentException { return execute((Properties) null); }
public /*@pure@*/ int execute() throws IOException, InterruptedException, SecurityException, IllegalArgumentException { return execute((Properties) null); }
1,101,676
public SimpleCrossProductAlphabet(List a, Alphabet parent) throws IllegalAlphabetException { this.parent = parent; for(Iterator i = a.iterator(); i.hasNext(); ) { Alphabet aa = (Alphabet) i.next(); if(! (aa instanceof FiniteAlphabet) ) { throw new IllegalAlphabetException( "Can't crea...
public SimpleCrossProductAlphabet(List a) throws IllegalAlphabetException { this.parent = parent; for(Iterator i = a.iterator(); i.hasNext(); ) { Alphabet aa = (Alphabet) i.next(); if(! (aa instanceof FiniteAlphabet) ) { throw new IllegalAlphabetException( "Can't create a SimpleCrossP...
1,101,677
public SimpleCrossProductAlphabet(List a, Alphabet parent) throws IllegalAlphabetException { this.parent = parent; for(Iterator i = a.iterator(); i.hasNext(); ) { Alphabet aa = (Alphabet) i.next(); if(! (aa instanceof FiniteAlphabet) ) { throw new IllegalAlphabetException( "Can't crea...
public SimpleCrossProductAlphabet(List a, Alphabet parent) throws IllegalAlphabetException { this.parent = parent; for(Iterator i = a.iterator(); i.hasNext(); ) { Alphabet aa = (Alphabet) i.next(); if(! (aa instanceof FiniteAlphabet) ) { throw new IllegalAlphabetException( "Can't crea...
1,101,678
public long saveJobEntryAttribute(long id_job, long id_jobentry, String code, double value) throws KettleDatabaseException { return saveJobEntryAttribute(code, 0, id_job, id_jobentry, value, null); }
public long saveJobEntryAttribute(long id_job, long id_jobentry, String code, String value) throws KettleDatabaseException { return saveJobEntryAttribute(code, 0, id_job, id_jobentry, value, null); }
1,101,679
public long saveJobEntryAttribute(long id_job, long id_jobentry, String code, double value) throws KettleDatabaseException { return saveJobEntryAttribute(code, 0, id_job, id_jobentry, value, null); }
public long saveJobEntryAttribute(long id_job, long id_jobentry, String code, double value) throws KettleDatabaseException { return saveJobEntryAttribute(code, 0, id_job, id_jobentry, 0.0, value); }
1,101,680
public final static int getAccessType(String dbaccess) { int i; if (dbaccess==null) return TYPE_ACCESS_NATIVE; for (i=0;i<dbAccessTypeCode.length;i++) { if (dbAccessTypeCode[i].equalsIgnoreCase(dbaccess)) { return i; } } for (i=0;i<dbAccessTypeDesc.length;i++) { if (dbAccessTypeDesc[i].equalsIgn...
public final static int getAccessType(String dbaccess) { int i; if (dbaccess==null) return TYPE_ACCESS_NATIVE; for (i=0;i<dbAccessTypeCode.length;i++) { if (dbAccessTypeCode[i].equalsIgnoreCase(dbaccess)) { return i; } } for (i=0;i<dbAccessTypeDesc.length;i++) { if (dbAccessTypeDesc[i].equalsIgn...
1,101,681
public void setFoiLocation(Vector3d location) { DOMWriter domWriter = new DOMWriter(xmlDocument); Element pointElt = domWriter.addElement("om:featureOfInterest/sos:GeoReferenceableFeature/gml:location/gml:Point"); domWriter.setAttributeValue(pointElt, "srs", "urn:ogc:def:crs:EPSG:6.1:4329");...
public void setFoiLocation(Vector3d location) { DOMWriter domWriter = new DOMWriter(xmlDocument); Element pointElt = domWriter.addElement("om:featureOfInterest/sos:GeoReferenceableFeature/gml:location/gml:Point"); domWriter.setAttributeValue(pointElt, "srs", "urn:ogc:def:crs:EPSG:6.1:4329");...
1,101,682
public void setTime(TimeInfo time, int zone) { DOMReader templates = null; try { // preload templates doc InputStream templateFile = SOSObservationSerializer.class.getResourceAsStream("templates.xml"); templates = new DOMReader(templateFile, false); } catch (DOMReaderException e) { e.printStackTrace();...
public void setTime(TimeInfo time, int zone) { DOMReader templates = null; try { // preload templates doc InputStream templateFile = SOSObservationSerializer.class.getResourceAsStream("templates.xml"); templates = new DOMReader(templateFile, false); } catch (DOMReaderException e) { e.printStackTrace();...
1,101,683
public List discover(Identifier identifier) throws DiscoveryException { if (identifier instanceof XriIdentifier) { XRDS xrds; XriIdentifier xriIdentifier = (XriIdentifier) identifier; try { TrustType trustAll = new TrustType(Trus...
public List discover(String identifier) throws DiscoveryException { if (identifier instanceof XriIdentifier) { XRDS xrds; XriIdentifier xriIdentifier = (XriIdentifier) identifier; try { TrustType trustAll = new TrustType(TrustTyp...
1,101,684
public List discover(Identifier identifier) throws DiscoveryException { if (identifier instanceof XriIdentifier) { XRDS xrds; XriIdentifier xriIdentifier = (XriIdentifier) identifier; try { TrustType trustAll = new TrustType(Trus...
public List discover(Identifier identifier) throws DiscoveryException { if (identifier instanceof XriIdentifier) { XRDS xrds; XriIdentifier xriIdentifier = (XriIdentifier) identifier; try { TrustType trustAll = new TrustType(Trus...
1,101,685
public Result execStatement(String sql, Row params) throws KettleDatabaseException { Result result = new Result(); try { boolean resultSet; int count; if (params!=null) { PreparedStatement prep_stmt = connection.prepareStatement(databaseMeta.stripCR(sql)); setValues(params, pre...
public Result execStatement(String sql) throws KettleDatabaseException { Result result = new Result(); try { boolean resultSet; int count; if (params!=null) { PreparedStatement prep_stmt = connection.prepareStatement(databaseMeta.stripCR(sql)); setValues(params, prep_stmt); // ...
1,101,686
public Result execStatement(String sql, Row params) throws KettleDatabaseException { Result result = new Result(); try { boolean resultSet; int count; if (params!=null) { PreparedStatement prep_stmt = connection.prepareStatement(databaseMeta.stripCR(sql)); setValues(params, pre...
public Result execStatement(String sql, Row params) throws KettleDatabaseException { Result result = new Result(); try { boolean resultSet; int count; if (params!=null) { PreparedStatement prep_stmt = connection.prepareStatement(databaseMeta.stripCR(sql)); setValues(params, pre...
1,101,687
public AtomIterator(Group g) { structure = null; group = g ; current_atom_pos = -1 ; groupiter = null ; }
public AtomIterator(Group g) { structure = null; group = g ; current_atom_pos = -1 ; groupiter = null ; }
1,101,688
public AtomIterator(Group g) { structure = null; group = g ; current_atom_pos = -1 ; groupiter = null ; }
public AtomIterator(Group g) { structure = null; group = g ; current_atom_pos = -1 ; }
1,101,689
public void write(String str) throws IOException { synchronized(lock) { int len = str.length(); for (int i = 0; i < len; i++) { int c = str.charAt(i); if(c == '<') { out.write(LT); } ...
public void write(int c) throws IOException { synchronized(lock) { int len = str.length(); for (int i = 0; i < len; i++) { int c = str.charAt(i); if(c == '<') { out.write(LT); } ...
1,101,691
public void write(String str) throws IOException { synchronized(lock) { int len = str.length(); for (int i = 0; i < len; i++) { int c = str.charAt(i); if(c == '<') { out.write(LT); } ...
public void write(String str) throws IOException { synchronized(lock) { int len = str.length(); for (int i = 0; i < len; i++) { int c = str.charAt(i); if(c == '<') { out.write(LT); } ...
1,101,692
public void write(String str) throws IOException { synchronized(lock) { int len = str.length(); for (int i = 0; i < len; i++) { int c = str.charAt(i); if(c == '<') { out.write(LT); } ...
public void write(String str) throws IOException { synchronized(lock) { int len = str.length(); for (int i = 0; i < len; i++) { int c = str.charAt(i); if(c == '<') { out.write(LT); } ...
1,101,693
public ValidationResult validateElement(Element element) { ValidationResult result = validateAccessor(element); XmlElements xmlElements = element.getAnnotation(XmlElements.class); if ((element.isCollectionType()) && (element.getBaseType() != KnownXmlType.ANY_TYPE) && (xmlElements != null) && (xmlElement...
public ValidationResult validateElement(Element element) { ValidationResult result = validateAccessor(element); XmlElements xmlElements = element.getAnnotation(XmlElements.class); if ((element.isCollectionType()) && (element.getBaseType() != KnownXmlType.ANY_TYPE) && (xmlElements != null) && (xmlElement...
1,101,694
public ValidationResult validateElementRef(ElementRef elementRef) { ValidationResult result = validateAccessor(elementRef); if (elementRef.getChoices().isEmpty()) { XmlTypeMirror baseType = elementRef.getBaseType(); result.addError(elementRef.getPosition(), "No root elements found for " + new QName(ba...
public ValidationResult validateElementRef(ElementRef elementRef) { ValidationResult result = validateAccessor(elementRef); if (elementRef.getChoices().isEmpty()) { XmlTypeMirror baseType = elementRef.getBaseType(); result.addError(elementRef.getPosition(), "No root elements found for " + new QName(ba...
1,101,695
public MenuItem(String name, int index) { super(null); this.index=index; this.name=name; }
public MenuItem(String name, int index) { super(null); this.index=index; this.name=name; }
1,101,696
public void logoff(){ if (theStream!=null) try { sendPresence(Presence.PRESENCE_OFFLINE); } catch (Exception e) { e.printStackTrace(); } };
public void logoff(){ if (theStream!=null) try { ExtendedStatus es=StatusList.getInstance().getStatus(Presence.PRESENCE_OFFLINE); sendPresence(Presence.PRESENCE_OFFLINE, es.getMessage()); } catch (Exception e) { e.printStackTrace(); } };
1,101,700
public IqVersionReply(JabberDataBlock request) { super(request.getAttribute("from"), Iq.TYPE_RESULT, request.getAttribute("id") ); JabberDataBlock query=addChild("query",null); query.setNameSpace("jabber:iq:version"); String m_client=(cf.m_client!=null)?cf.m_client:"Bombus"; ...
public IqVersionReply(JabberDataBlock request) { super(request.getAttribute("from"), Iq.TYPE_RESULT, request.getAttribute("id") ); JabberDataBlock query=addChild("query",null); query.setNameSpace("jabber:iq:version"); String m_client=(cf.m_client!=null)?cf.m_client:"Bombus"; ...
1,101,702
public void dispathch(){ String show; String errText=null; text=new StringBuffer(); String type=getTypeAttribute(); presenceCode=PRESENCE_AUTH; if (type!=null) { if (type.equals(PRS_OFFLINE)) { presenceCode=PRESENCE_OFFLINE; text.append("offline"); ...
public void dispathch(){ String show; String errText=null; text=new StringBuffer(); String type=getTypeAttribute(); presenceCode=PRESENCE_AUTH; if (type!=null) { if (type.equals(PRS_OFFLINE)) { presenceCode=PRESENCE_OFFLINE; text.append("offline"); ...
1,101,703
public RosterItemActions(Display display, Object item) { super(item.toString()); this.item=item; if (item==null) return; boolean isContact=( item instanceof Contact ); if (isContact) { Contact contact=(Contact)item; if (contact.getGroupType()==Groups.TYPE_TRANSP) { addItem(SR.MS_LOGON,5); a...
public RosterItemActions(Display display, Object item) { super(item.toString()); this.item=item; if (item==null) return; boolean isContact=( item instanceof Contact ); if (isContact) { Contact contact=(Contact)item; if (contact.getGroupType()==Groups.TYPE_TRANSP) { addItem(SR.MS_LOGON,5); a...
1,101,704
public Contact(final String Nick, final String sJid, final int Status, String subscr) { this(); nick=Nick; jid= new Jid(sJid); status=Status; bareJid=sJid; this.subscr=subscr; setSortKey((Nick==null)?sJid:Nick); //msgs.removeAllElements(); //calculating t...
public Contact(final String Nick, final String sJid, final int Status, String subscr) { this(); nick=Nick; jid= new Jid(sJid); status=Status; bareJid=sJid; this.subscr=subscr; setSortKey((Nick==null)?sJid:Nick); //msgs.removeAllElements(); //calculating t...
1,101,705
public Presence(int status, int priority, String message) { super( null, null ); switch (status){ case PRESENCE_OFFLINE: setType(PRS_OFFLINE); break; case PRESENCE_INVISIBLE: setType(PRS_INVISIBLE); break; case PRESENCE_CHAT: setShow(PRS_CHAT);break; case PRESENCE_AWAY: setShow(PRS_...
public Presence( JabberDataBlock _parent, Hashtable _attributes ) { super( null, null ); switch (status){ case PRESENCE_OFFLINE: setType(PRS_OFFLINE); break; case PRESENCE_INVISIBLE: setType(PRS_INVISIBLE); break; case PRESENCE_CHAT: setShow(PRS_CHAT);break; case PRESENCE_AWAY: setS...
1,101,706
public Presence(int status, int priority, String message) { super( null, null ); switch (status){ case PRESENCE_OFFLINE: setType(PRS_OFFLINE); break; case PRESENCE_INVISIBLE: setType(PRS_INVISIBLE); break; case PRESENCE_CHAT: setShow(PRS_CHAT);break; case PRESENCE_AWAY: setShow(PRS_...
public Presence(int status, int priority, String message) { super( null, null ); switch (status){ case PRESENCE_OFFLINE: setType(PRS_OFFLINE); break; case PRESENCE_INVISIBLE: setType(PRS_INVISIBLE); break; case PRESENCE_CHAT: setShow(PRS_CHAT);break; case PRESENCE_AWAY: setShow(PRS_...
1,101,707
public void eventOk(){ try { final Roster roster=StaticData.getInstance().roster; boolean isContact=( item instanceof Contact ); Contact c = null; Group g = null; if (isContact) c=(Contact)item; else g=(Group) item; MenuItem me=(Me...
public void eventOk(){ try { final Roster roster=StaticData.getInstance().roster; boolean isContact=( item instanceof Contact ); Contact c = null; Group g = null; if (isContact) c=(Contact)item; else g=(Group) item; MenuItem me=(Me...
1,101,708
public void addItem(String label, int index){ addItem(new MenuItem(label, index)); }
public void addItem(String label, int index){ addItem(new MenuItem(label, index)); }
1,101,709
public ConferenceQuickPrivelegeModify(Display display, MucContact victim, int action) { this.victim=victim; this.action=action; switch (action) { case KICK: f=new Form(SR.MS_KICK); break; case OUTCAST: f=new Form(SR.MS_...
public ConferenceQuickPrivelegeModify(Display display, MucContact victim, int action) { this.victim=victim; this.action=action; switch (action) { case KICK: f=new Form(SR.MS_KICK); break; case OUTCAST: f=new Form(SR.MS_...
1,101,710
public ConferenceQuickPrivelegeModify(Display display, MucContact victim, int action) { this.victim=victim; this.action=action; switch (action) { case KICK: f=new Form(SR.MS_KICK); break; case OUTCAST: f=new Form(SR.MS_...
public ConferenceQuickPrivelegeModify(Display display, MucContact victim, int action) { this.victim=victim; this.action=action; switch (action) { case KICK: f=new Form(SR.MS_KICK); break; case OUTCAST: f=new Form(SR.MS_...
1,101,711
public DataStore buildDataStore( File storeFile, SequenceStreamer streamer, Packing packing, int wordLength, int stepSize, int threshold ) throws IllegalAlphabetException, IOException, BioException { ByteArrayOutputStream packingStream = new ByteArrayOutputStream(); ObjectOutputStr...
public DataStore buildDataStore( File storeFile, SequenceDB seqDB, Packing packing, int wordLength, int stepSize, int threshold ) throws IllegalAlphabetException, IOException, BioException { ByteArrayOutputStream packingStream = new ByteArrayOutputStream(); ObjectOutputStream packi...
1,101,713
public DataStore buildDataStore( File storeFile, SequenceStreamer streamer, Packing packing, int wordLength, int stepSize, int threshold ) throws IllegalAlphabetException, IOException, BioException { ByteArrayOutputStream packingStream = new ByteArrayOutputStream(); ObjectOutputStr...
public DataStore buildDataStore( File storeFile, SequenceStreamer streamer, Packing packing, int wordLength, int threshold ) throws IllegalAlphabetException, IOException, BioException { ByteArrayOutputStream packingStream = new ByteArrayOutputStream(); ObjectOutputStream packingSe...
1,101,714
public DataStore buildDataStore( File storeFile, SequenceStreamer streamer, Packing packing, int wordLength, int stepSize, int threshold ) throws IllegalAlphabetException, IOException, BioException { ByteArrayOutputStream packingStream = new ByteArrayOutputStream(); ObjectOutputStr...
public DataStore buildDataStore( File storeFile, SequenceStreamer streamer, Packing packing, int wordLength, int stepSize, int threshold ) throws IllegalAlphabetException, IOException, BioException { ByteArrayOutputStream packingStream = new ByteArrayOutputStream(); ObjectOutputStr...
1,101,715
private List prepareBaseCommandList(String inputVideo, String outputVideo, MPlayerInfo info) { List commandList = new ArrayList(); commandList.add(MPlayerInfo.getMPlayerPath() + "mencoder"); commandList.add(inputVideo); commandList.add("-o"); commandList.add(outputVideo); if (ConverterOptions.getCurrentP...
private List prepareBaseCommandList(String inputVideo, String outputVideo, MPlayerInfo info) { List commandList = new ArrayList(); commandList.add(MPlayerInfo.getMPlayerPath() + "mencoder"); commandList.add(inputVideo); commandList.add("-o"); commandList.add(outputVideo); if (ConverterOptions.getCurrentP...
1,101,716
protected void parseTimeArg(TimeInfo timeInfo, String argValue) throws OWSException { String[] timeRange = argValue.split("/"); double now = System.currentTimeMillis() / 1000; try { // parse start time if (timeRange[0].equalsIgnoreCase("now")) ...
protected void parseTimeArg(TimeInfo timeInfo, String argValue) throws OWSException { String[] timeRange = argValue.split("/"); double now = System.currentTimeMillis() / 1000; try { // parse start time if (timeRange[0].equalsIgnoreCase("now")) ...
1,101,717
protected void parseTimeArg(TimeInfo timeInfo, String argValue) throws OWSException { String[] timeRange = argValue.split("/"); double now = System.currentTimeMillis() / 1000; try { // parse start time if (timeRange[0].equalsIgnoreCase("now")) ...
protected void parseTimeArg(TimeInfo timeInfo, String argValue) throws OWSException { String[] timeRange = argValue.split("/"); double now = System.currentTimeMillis() / 1000; try { // parse start time if (timeRange[0].equalsIgnoreCase("now")) ...
1,101,718
protected void parseTimeArg(TimeInfo timeInfo, String argValue) throws OWSException { String[] timeRange = argValue.split("/"); double now = System.currentTimeMillis() / 1000; try { // parse start time if (timeRange[0].equalsIgnoreCase("now")) ...
protected void parseTimeArg(TimeInfo timeInfo, String argValue) throws OWSException { String[] timeRange = argValue.split("/"); double now = System.currentTimeMillis() / 1000; try { // parse start time if (timeRange[0].equalsIgnoreCase("now")) ...
1,101,719
public void run() { try { if (getKeyLockState()) { setLight(false); } else { setLight(true); } if (setAutoStatus) { keyTimer=keyTimer+5; if (!isAway) { ...
public void run() { try { if (getKeyLockState()) { if (elfPlatform && lightState==1) { LightControl.setLight(0); lightState=0; } } else { setLight(true); } if (setAutoStatus) { key...
1,101,720
public void run() { try { if (getKeyLockState()) { setLight(false); } else { setLight(true); } if (setAutoStatus) { keyTimer=keyTimer+5; if (!isAway) { ...
public void run() { try { if (getKeyLockState()) { setLight(false); } else { if (elfPlatform && lightState==0) { LightControl.setLight(1); lightState=1; } } if (setAutoStatus) { ke...
1,101,721
public Roster(Display display /*, boolean selAccount*/) { super(); setProgress(24); //setTitleImages(StaticData.getInstance().rosterIcons); this.display=display; cf=Config.getInstance(); autoAwayTime=cf.autoAwayTime*60; setAutoStatus=cf.setAu...
public Roster(Display display /*, boolean selAccount*/) { super(); setProgress(24); //setTitleImages(StaticData.getInstance().rosterIcons); this.display=display; cf=Config.getInstance(); autoAwayTime=cf.autoAwayTime*60; setAutoStatus=cf.setAu...
1,101,722
public void commandAction(Command c, Displayable d){ if (c==cmdQuit) { destroyView(); logoff(); //StaticData sd=StaticData.getInstance(); //cf.saveToStorage(); Bombus.getInstance().notifyDestroyed(); return; } if (c==cmdMinimize) { Bomb...
public void commandAction(Command c, Displayable d){ if (c==cmdQuit) { destroyView(); logoff(); //StaticData sd=StaticData.getInstance(); //cf.saveToStorage(); Bombus.getInstance().notifyDestroyed(); return; } if (c==cmdMinimize) { Bomb...
1,101,723
public static boolean getKeyLockState() { boolean lightState=(System.getProperty("MPJCKEYL")=="1")?true:false; return lightState; }
public static boolean getKeyLockState() { boolean lightState=(System.getProperty("MPJCKEYL").startsWith("1"))?true:false; if (lightState) elfPlatform=true; return lightState; }
1,101,724
public RosterMenu(Display display, Object o) { super(SR.MS_MAIN_MENU); this.o=o; addItem(SR.MS_ITEM_ACTIONS, 0); addItem(SR.MS_STATUS_MENU, 1); addItem(SR.MS_ACTIVE_CONTACTS, 2); addItem(SR.MS_ALERT_PROFILE_CMD, 3); addItem(SR.MS_CONFERENCE, 4); addItem(SR.MS_...
public RosterMenu(Display display, Object o) { super(SR.MS_MAIN_MENU); this.o=o; addItem(SR.MS_ITEM_ACTIONS, 0); addItem(SR.MS_STATUS_MENU, 1); addItem(SR.MS_ACTIVE_CONTACTS, 2); addItem(SR.MS_ALERT_PROFILE_CMD, 3); addItem(SR.MS_CONFERENCE, 4); addItem(SR.MS_...
1,101,725
public ConfigForm(Display display) { this.display=display; parentView=display.getCurrent(); cf=Config.getInstance(); f=new Form(SR.MS_OPTIONS); roster=new ChoiceGroup(SR.MS_ROSTER_ELEMENTS, Choice.MULTIPLE); roster.append(SR.MS_OFFLINE_CONTACTS, null); ...
public ConfigForm(Display display) { this.display=display; parentView=display.getCurrent(); cf=Config.getInstance(); f=new Form(SR.MS_OPTIONS); roster=new ChoiceGroup(SR.MS_ROSTER_ELEMENTS, Choice.MULTIPLE); roster.append(SR.MS_OFFLINE_CONTACTS, null); ...
1,101,726
public ConfigForm(Display display) { this.display=display; parentView=display.getCurrent(); cf=Config.getInstance(); f=new Form(SR.MS_OPTIONS); roster=new ChoiceGroup(SR.MS_ROSTER_ELEMENTS, Choice.MULTIPLE); roster.append(SR.MS_OFFLINE_CONTACTS, null); ...
public ConfigForm(Display display) { this.display=display; parentView=display.getCurrent(); cf=Config.getInstance(); f=new Form(SR.MS_OPTIONS); roster=new ChoiceGroup(SR.MS_ROSTER_ELEMENTS, Choice.MULTIPLE); roster.append(SR.MS_OFFLINE_CONTACTS, null); ...
1,101,727
public static final int getType(String dsc) { if (dsc!=null) for (int i=0;i<JobEntryInterface.type_desc.length;i++) { if (JobEntryInterface.type_desc[i].equalsIgnoreCase(dsc)) return i; } // Try the long description! for (int i=0;i<JobEntryInterface.type_desc_long.length;i++) { if (JobEntryInterface.type_...
public int getType() { if (dsc!=null) for (int i=0;i<JobEntryInterface.type_desc.length;i++) { if (JobEntryInterface.type_desc[i].equalsIgnoreCase(dsc)) return i; } // Try the long description! for (int i=0;i<JobEntryInterface.type_desc_long.length;i++) { if (JobEntryInterface.type_desc_long[i].equalsIgno...
1,101,728
public static final int getType(String dsc) { if (dsc!=null) for (int i=0;i<JobEntryInterface.type_desc.length;i++) { if (JobEntryInterface.type_desc[i].equalsIgnoreCase(dsc)) return i; } // Try the long description! for (int i=0;i<JobEntryInterface.type_desc_long.length;i++) { if (JobEntryInterface.type_...
public static final int getType(String dsc) { if (dsc!=null) for (int i=0;i<JobEntryInterface.type_desc.length;i++) { if (JobEntryInterface.type_desc[i].equalsIgnoreCase(dsc)) return i; } // Try the long description! for (int i=0;i<JobEntryInterface.type_desc_long.length;i++) { if (JobEntryInterface.type_...
1,101,729
public IllegalResidueException(String message) { super(message); this.res = null; }
public IllegalResidueException(String message) { super(message); this.res = null; }
1,101,730
public StepMeta newStep(String name, String description, boolean openit, boolean rename) { StepMeta inf = null; // See if we need to rename the step to avoid doubles! if (rename && transMeta.findStep(name)!=null) { int i=2; String newname = name+" "+i; ...
public StepMeta newStep() { StepMeta inf = null; // See if we need to rename the step to avoid doubles! if (rename && transMeta.findStep(name)!=null) { int i=2; String newname = name+" "+i; while (transMeta.findStep(newname)!=null) {...
1,101,731
public StepMeta newStep(String name, String description, boolean openit, boolean rename) { StepMeta inf = null; // See if we need to rename the step to avoid doubles! if (rename && transMeta.findStep(name)!=null) { int i=2; String newname = name+" "+i; ...
public StepMeta newStep(String name, String description, boolean openit, boolean rename) { StepMeta inf = null; // See if we need to rename the step to avoid doubles! if (rename && transMeta.findStep(name)!=null) { int i=2; String newname = name+" "+i; ...
1,101,732
public void checkTrans(boolean only_selected) { CheckTransProgressDialog ctpd = new CheckTransProgressDialog(shell, transMeta, remarks, only_selected); ctpd.open(); // manages the remarks arraylist... showLastTransCheck(); }
public void checkTrans() { CheckTransProgressDialog ctpd = new CheckTransProgressDialog(shell, transMeta, remarks, only_selected); ctpd.open(); // manages the remarks arraylist... showLastTransCheck(); }
1,101,733
public void checkTrans(boolean only_selected) { CheckTransProgressDialog ctpd = new CheckTransProgressDialog(shell, transMeta, remarks, only_selected); ctpd.open(); // manages the remarks arraylist... showLastTransCheck(); }
public void checkTrans(boolean only_selected) { CheckTransProgressDialog ctpd = new CheckTransProgressDialog(shell, transMeta, remarks, only_selected); ctpd.open(); // manages the remarks arraylist... showLastTransCheck(); }
1,101,734
public void run() { try { if (getKeyLockState() && lightState==1) { if (elfPlatform==true && lightState==1) { LightControl.setLight(false); lightState=0; } } if (getKeyLock...
public void run() { try { if (getKeyLockState() && lightState==1) { if (elfPlatform==true && lightState==1) { setLight(false); lightState=0; } } if (getKeyLockState()==fals...
1,101,735
public void run() { try { if (getKeyLockState() && lightState==1) { if (elfPlatform==true && lightState==1) { LightControl.setLight(false); lightState=0; } } if (getKeyLock...
public void run() { try { if (getKeyLockState() && lightState==1) { if (elfPlatform==true && lightState==1) { LightControl.setLight(false); lightState=0; } } if (getKeyLock...
1,101,736
public Roster(Display display /*, boolean selAccount*/) { super(); setProgress(24); //setTitleImages(StaticData.getInstance().rosterIcons); this.display=display; cf=Config.getInstance(); autoAwayTime=cf.autoAwayTime*60; setAutoStatus=cf.setAu...
public Roster(Display display /*, boolean selAccount*/) { super(); setProgress(24); //setTitleImages(StaticData.getInstance().rosterIcons); this.display=display; cf=Config.getInstance(); autoAwayTime=cf.autoAwayTime*60; setAutoStatus=cf.setAu...
1,101,737
public Roster(Display display /*, boolean selAccount*/) { super(); setProgress(24); //setTitleImages(StaticData.getInstance().rosterIcons); this.display=display; cf=Config.getInstance(); autoAwayTime=cf.autoAwayTime*60; setAutoStatus=cf.setAu...
public Roster(Display display /*, boolean selAccount*/) { super(); setProgress(24); //setTitleImages(StaticData.getInstance().rosterIcons); this.display=display; cf=Config.getInstance(); autoAwayTime=cf.autoAwayTime*60; setAutoStatus=cf.setAu...
1,101,738
public Roster(Display display /*, boolean selAccount*/) { super(); setProgress(24); //setTitleImages(StaticData.getInstance().rosterIcons); this.display=display; cf=Config.getInstance(); autoAwayTime=cf.autoAwayTime*60; setAutoStatus=cf.setAu...
public Roster(Display display /*, boolean selAccount*/) { super(); setProgress(24); //setTitleImages(StaticData.getInstance().rosterIcons); this.display=display; cf=Config.getInstance(); autoAwayTime=cf.autoAwayTime*60; setAutoStatus=cf.setAu...
1,101,739
public Roster(Display display /*, boolean selAccount*/) { super(); setProgress(24); //setTitleImages(StaticData.getInstance().rosterIcons); this.display=display; cf=Config.getInstance(); autoAwayTime=cf.autoAwayTime*60; setAutoStatus=cf.setAu...
public Roster(Display display /*, boolean selAccount*/) { super(); setProgress(24); //setTitleImages(StaticData.getInstance().rosterIcons); this.display=display; cf=Config.getInstance(); autoAwayTime=cf.autoAwayTime*60; setAutoStatus=cf.setAu...
1,101,740
public void commandAction(Command c, Displayable d){ if (c==cmdQuit) { destroyView(); logoff(); //StaticData sd=StaticData.getInstance(); //cf.saveToStorage(); Bombus.getInstance().notifyDestroyed(); return; } if (c==cmdMinimize) { Bomb...
public void commandAction(Command c, Displayable d){ if (c==cmdQuit) { destroyView(); logoff(); //StaticData sd=StaticData.getInstance(); //cf.saveToStorage(); Bombus.getInstance().notifyDestroyed(); return; } if (c==cmdMinimize) { Bomb...
1,101,741
public void commandAction(Command c, Displayable d){ if (c==cmdQuit) { destroyView(); logoff(); //StaticData sd=StaticData.getInstance(); //cf.saveToStorage(); Bombus.getInstance().notifyDestroyed(); return; } if (c==cmdMinimize) { Bomb...
public void commandAction(Command c, Displayable d){ if (c==cmdQuit) { destroyView(); logoff(); //StaticData sd=StaticData.getInstance(); //cf.saveToStorage(); Bombus.getInstance().notifyDestroyed(); return; } if (c==cmdMinimize) { Bomb...
1,101,742
public void commandAction(Command c, Displayable d){ if (c==cmdQuit) { destroyView(); logoff(); //StaticData sd=StaticData.getInstance(); //cf.saveToStorage(); Bombus.getInstance().notifyDestroyed(); return; } if (c==cmdMinimize) { Bomb...
public void commandAction(Command c, Displayable d){ if (c==cmdQuit) { destroyView(); logoff(); //StaticData sd=StaticData.getInstance(); //cf.saveToStorage(); Bombus.getInstance().notifyDestroyed(); return; } if (c==cmdMinimize) { Bomb...
1,101,743
public static boolean getKeyLockState() { boolean lightState=(System.getProperty("MPJCKEYL").startsWith("1"))?true:false; if (lightState==true) elfPlatform=true; return lightState; }
public static boolean getKeyLockState() { boolean lightState=(System.getProperty("MPJCKEYL").startsWith("1"))?true:false; if (lightState==true || elfPlatform==true) elfPlatform=true; return lightState; }
1,101,745
public Vector3d readPoint(DOMReader dom, Element pointElt) throws GMLException { Vector3d point = new Vector3d(); String coordsText = ""; String[] coords; // read SRS String srs = dom.getAttributeValue(pointElt, "@srsName"); point.setCrs(srs); try ...
public Vector3d readPoint(DOMReader dom, Element pointElt) throws GMLException { Vector3d point = new Vector3d(); String coordsText = ""; String[] coords; // read SRS String srs = dom.getAttributeValue(pointElt, "@srsName"); point.setCrs(srs); try ...
1,101,746
public static void getUsedVariables(String aString, List list) { getUsedVariables(aString, UNIX_OPEN, UNIX_CLOSE, list); getUsedVariables(aString, WINDOWS_OPEN, WINDOWS_CLOSE, list); }
private static void getUsedVariables(String aString, String open, String close, List list) { getUsedVariables(aString, UNIX_OPEN, UNIX_CLOSE, list); getUsedVariables(aString, WINDOWS_OPEN, WINDOWS_CLOSE, list); }
1,101,747
public static void getUsedVariables(String aString, List list) { getUsedVariables(aString, UNIX_OPEN, UNIX_CLOSE, list); getUsedVariables(aString, WINDOWS_OPEN, WINDOWS_CLOSE, list); }
public static void getUsedVariables(String aString, List list) { getUsedVariables(aString, UNIX_OPEN, UNIX_CLOSE, list); getUsedVariables(aString, WINDOWS_OPEN, WINDOWS_CLOSE, list); }
1,101,748
public Element writeTime(DOMWriter dom, TimeInfo timeInfo) throws GMLException { Element timeElt; if (timeInfo.isTimeInstant()) { timeElt = dom.createElement("gml:TimeInstant"); if (timeInfo.isBeginNow() || timeInfo.isEndNow() || timeInfo.isBaseAtNow...
public Element writeTime(DOMWriter dom, TimeInfo timeInfo) throws GMLException { Element timeElt; if (timeInfo.isTimeInstant()) { timeElt = dom.createElement("gml:TimeInstant"); if (timeInfo.isBeginNow() || timeInfo.isEndNow() || timeInfo.isBaseAtNow...
1,101,749
public Element writeTime(DOMWriter dom, TimeInfo timeInfo) throws GMLException { Element timeElt; if (timeInfo.isTimeInstant()) { timeElt = dom.createElement("gml:TimeInstant"); if (timeInfo.isBeginNow() || timeInfo.isEndNow() || timeInfo.isBaseAtNow...
public Element writeTime(DOMWriter dom, TimeInfo timeInfo) throws GMLException { Element timeElt; if (timeInfo.isTimeInstant()) { timeElt = dom.createElement("gml:TimeInstant"); if (timeInfo.isBeginNow() || timeInfo.isEndNow() || timeInfo.isBaseAtNow...
1,101,750
public Element writeTime(DOMWriter dom, TimeInfo timeInfo) throws GMLException { Element timeElt; if (timeInfo.isTimeInstant()) { timeElt = dom.createElement("gml:TimeInstant"); if (timeInfo.isBeginNow() || timeInfo.isEndNow() || timeInfo.isBaseAtNow...
public Element writeTime(DOMWriter dom, TimeInfo timeInfo) throws GMLException { Element timeElt; if (timeInfo.isTimeInstant()) { timeElt = dom.createElement("gml:TimeInstant"); if (timeInfo.isBeginNow() || timeInfo.isEndNow() || timeInfo.isBaseAtNow...
1,101,751
public static void setLight(boolean state) { if (state) { com.siemens.mp.game.Light.setLightOn(); } else { com.siemens.mp.game.Light.setLightOff(); } cf.lightState=state; cf.saveToStorage(); }
public static void setLight(boolean state) { if (state==true) { com.siemens.mp.game.Light.setLightOn(); } else { com.siemens.mp.game.Light.setLightOff(); } cf.lightState=state; cf.saveToStorage(); }
1,101,752
public QName getRef() { QName ref = super.getRef(); if (ref == null) { XmlTypeMirror baseType = getBaseType(); if (baseType.isAnonymous()) { if (((XmlClassType) baseType).getTypeDefinition().getAnnotation(XmlRootElement.class) != null) { ref = new QName(getNamespace(), getName()); ...
public QName getRef() { QName ref = super.getRef(); if (ref == null) { XmlTypeMirror baseType = getBaseType(); if (baseType.isAnonymous()) { if (((XmlClassType) baseType).getTypeDefinition().getAnnotation(XmlRootElement.class) != null) { ref = new QName(getNamespace(), getName()); ...
1,101,753
public void run() { try { if (getKeyLockState() && lightState==1) { if (elfPlatform && lightState==1) { LightControl.setLight(false); lightState=0; } } if (getKeyLockState(...
public void run() { try { if (getKeyLockState() && lightState==1) { if (elfPlatform==true && lightState==1) { LightControl.setLight(false); lightState=0; } } if (getKeyLock...
1,101,754
public void run() { try { if (getKeyLockState() && lightState==1) { if (elfPlatform && lightState==1) { LightControl.setLight(false); lightState=0; } } if (getKeyLockState(...
public void run() { try { if (getKeyLockState() && lightState==1) { if (elfPlatform && lightState==1) { LightControl.setLight(false); lightState=0; } } if (getKeyLockState(...
1,101,755
public static boolean getKeyLockState() { boolean lightState=(System.getProperty("MPJCKEYL").startsWith("1"))?true:false; if (lightState) elfPlatform=true; return lightState; }
public static boolean getKeyLockState() { boolean lightState=(System.getProperty("MPJCKEYL").startsWith("1"))?true:false; if (lightState==true) elfPlatform=true; return lightState; }
1,101,757
public ValidationResult validateElement(Element element) { ValidationResult result = validateAccessor(element); XmlTypeMirror collectionTypeParameter = element.getCollectionTypeParameter(); if ((collectionTypeParameter != null) && (collectionTypeParameter != KnownXmlType.ANY_TYPE)) { XmlTypeMirror baseT...
public ValidationResult validateElement(Element element) { ValidationResult result = validateAccessor(element); XmlTypeMirror collectionTypeParameter = element.getCollectionTypeParameter(); if ((collectionTypeParameter != null) && (collectionTypeParameter != KnownXmlType.ANY_TYPE)) { XmlTypeMirror baseT...
1,101,760
public ValidationResult validateElement(Element element) { ValidationResult result = validateAccessor(element); XmlTypeMirror collectionTypeParameter = element.getCollectionTypeParameter(); if ((collectionTypeParameter != null) && (collectionTypeParameter != KnownXmlType.ANY_TYPE)) { XmlTypeMirror baseT...
public ValidationResult validateElement(Element element) { ValidationResult result = validateAccessor(element); XmlTypeMirror collectionTypeParameter = element.getCollectionTypeParameter(); if ((collectionTypeParameter != null) && (collectionTypeParameter != KnownXmlType.ANY_TYPE)) { XmlTypeMirror baseT...
1,101,761
public ValidationResult validateElementRef(ElementRef elementRef) { ValidationResult result = validateAccessor(elementRef); if (elementRef.getChoices().isEmpty()) { XmlTypeMirror baseType = elementRef.getBaseType(); result.addError(elementRef.getPosition(), "No root elements found for " + new QName(ba...
public ValidationResult validateElementRef(ElementRef elementRef) { ValidationResult result = validateAccessor(elementRef); if (elementRef.getChoices().isEmpty()) { XmlTypeMirror baseType = elementRef.getBaseType(); result.addError(elementRef.getPosition(), "No root elements found for " + new QName(ba...
1,101,762
private void sendForm(String id){ JabberDataBlock req=new Iq(service, Iq.TYPE_SET, id); JabberDataBlock qry=req.addChild(childName,null); qry.setNameSpace(xmlns); //qry.setAttribute("action", "complete"); qry.setAttribute("node", node); qry.setAttribute("sessionid", session...
private void sendForm(String id){ JabberDataBlock req=new Iq(service, Iq.TYPE_SET, id); JabberDataBlock qry=req.addChild(childName,null); qry.setNameSpace(xmlns); //qry.setAttribute("action", "complete"); qry.setAttribute("node", node); qry.setAttribute("sessionid", session...
1,101,763
private void sendForm(String id){ JabberDataBlock req=new Iq(service, Iq.TYPE_SET, id); JabberDataBlock qry=req.addChild(childName,null); qry.setNameSpace(xmlns); //qry.setAttribute("action", "complete"); qry.setAttribute("node", node); qry.setAttribute("sessionid", session...
private void sendForm(String id){ JabberDataBlock req=new Iq(service, Iq.TYPE_SET, id); JabberDataBlock qry=req.addChild(childName,null); qry.setNameSpace(xmlns); //qry.setAttribute("action", "complete"); qry.setAttribute("node", node); qry.setAttribute("sessionid", session...
1,101,764
public void errorLog(String s){ if (s==null) return; if (s.length()==0) return; Alert error=new Alert(SR.MS_ERROR_, s, null, null); error.addCommand(new Command(SR.MS_OK, Command.BACK, 1)); //error.setTimeout(30000); display.setCurrent(error, display.getCurrent()); Msg m=n...
public void errorLog(String s){ if (s==null) return; if (s.length()==0) return; Alert error=new Alert(SR.MS_ERROR_, s, null, null); error.addCommand(new Command(SR.MS_OK, Command.BACK, 1)); //error.setTimeout(30000); display.setCurrent(error, display.getCurrent()); Msg m=n...
1,101,765