bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public static final int getType(String desc) { String d[] = JobEntryInterface.type_desc; for (int i=1;i< d.length;i++) { if (d[i].equalsIgnoreCase(desc)) return i; } d=JobEntryInterface.type_desc_long; for (int i=1;i< d.length;i++) { if (d[i].equalsIgnoreCase(desc)) return i; } return JobEntryInterface.TY... | public int getType() { String d[] = JobEntryInterface.type_desc; for (int i=1;i< d.length;i++) { if (d[i].equalsIgnoreCase(desc)) return i; } d=JobEntryInterface.type_desc_long; for (int i=1;i< d.length;i++) { if (d[i].equalsIgnoreCase(desc)) return i; } return JobEntryInterface.TYPE_JOBENTRY_NONE; } | 1,101,766 |
public static final int getType(String desc) { String d[] = JobEntryInterface.type_desc; for (int i=1;i< d.length;i++) { if (d[i].equalsIgnoreCase(desc)) return i; } d=JobEntryInterface.type_desc_long; for (int i=1;i< d.length;i++) { if (d[i].equalsIgnoreCase(desc)) return i; } return JobEntryInterface.TY... | public static final int getType(String desc) { String d[] = JobEntryInterface.type_desc; for (int i=1;i< d.length;i++) { if (d[i].equalsIgnoreCase(desc)) return i; } d=JobEntryInterface.type_desc_long; for (int i=1;i< d.length;i++) { if (d[i].equalsIgnoreCase(desc)) return i; } return JobEntryInterface.TY... | 1,101,767 |
public void commandAction(Command c, Displayable d) { if (c==cmdCancel) { exit = true; destroyView(); return; } if (c==cmdOk) { String reds=Integer.toHexString(red); if (reds.length()==1) reds="0"+reds; String greens=Integer.toHexString(green); ... | public void commandAction(Command c, Displayable d) { if (c==cmdCancel) { exit = true; destroyView(); return; } if (c==cmdOk) { String reds=Integer.toHexString(red); if (reds.length()==1) reds="0"+reds; String greens=Integer.toHexString(green); ... | 1,101,768 |
protected void keyPressed(int key) { switch (key) { case -59: case '2': timer = 7; dy = 1; movePoint(); break; case -60: case '8': timer = 7; dy = -1; movePoint(); break; case -61: case '4': cpos -= 1; if (cpos < 0) cpos = 2; repaint(); break; case -62: case '6': cp... | protected void keyPressed(int key) { switch (key) { case -59: case '2': timer = 7; dy = 1; movePoint(); break; case -60: case '8': timer = 7; dy = -1; movePoint(); break; case -61: case '4': cpos -= 1; if (cpos < 0) cpos = 2; repaint(); break; case -62: case '6': cp... | 1,101,769 |
public String invokeLibraryMethod(String library, String methodName, HashMap<String, Object> args) throws IOException, TemplateException { Configuration configuration = new Configuration(); StringTemplateLoader loader = new StringTemplateLoader(); configuration.setTemplateLoader(loader); configuration.set... | public String invokeLibraryMethod(String library, String methodName, HashMap<String, Object> args) throws IOException, TemplateException { Configuration configuration = new Configuration(); StringTemplateLoader loader = new StringTemplateLoader(); configuration.setTemplateLoader(loader); configuration.set... | 1,101,772 |
public void paint(Graphics g){ if (pos==-1) return; width=getWidth(); height=getHeight(); Font f=FontCache.getRosterNormalFont(); int xp=pos*width/100; int xt=width/2; int h=f.getHeight()+1; int y=height-h-2; g.setColor(Colors.PGS_BGND);... | public void paint(Graphics g){ if (pos==-1) return; width=getWidth(); height=getHeight(); Font f=FontCache.getRosterNormalFont(); int xp=pos*width/100; int xt=width/2; int h=f.getHeight()+1; int y=height-h-2; g.setColor(Colors.BLK_BGND);... | 1,101,773 |
public static int draw(Graphics g, String str) { int x=0; int y=0; int w= g.getClipWidth(); int ii, pointS = 0, len = str.length(); Font f=FontCache.getBalloonFont(); g.setFont(f); g.setColor(Colors.BALLOON_INK); for ( ii = 0; ii >= 0; ... | public static int draw(Graphics g, String str) { int x=0; int y=0; int w= g.getClipWidth(); int ii, pointS = 0, len = str.length(); Font f=FontCache.getBalloonFont(); g.setFont(f); g.setColor(Colors.BALLOON_INK); for ( ii = 0; ii >= 0; ... | 1,101,774 |
public static int draw(Graphics g, String str) { int x=0; int y=0; int w= g.getClipWidth(); int ii, pointS = 0, len = str.length(); Font f=FontCache.getBalloonFont(); g.setFont(f); g.setColor(Colors.BALLOON_INK); for ( ii = 0; ii >= 0; ... | public static int draw(Graphics g, String str) { int x=0; int y=0; int w= g.getClipWidth(); int ii, pointS = 0, len = str.length(); Font f=FontCache.getBalloonFont(); g.setFont(f); g.setColor(Colors.BALLOON_INK); for ( ii = 0; ii >= 0; ... | 1,101,775 |
public void drawItem(Graphics g, int i, boolean b) { g.setColor(Colors.BALLOON_BGND); g.fillRect(0, 0, width, height); //TextField nickField=null; //nickField=new TextField("text", "text", 32, TextField.ANY); g.setColor(Colors.BALLOON_INK); g.drawString("test", (widt... | public void drawItem(Graphics g, int i, boolean b) { g.setColor(Colors.BAR_BGND); g.fillRect(0, 0, g.getClipWidth(), g.getClipHeight()); paint(g); /* g.setColor(Colors.BALLOON_BGND); g.fillRect(0, 0, width, height); //TextField nickField=null; //nickField=new TextField("text", "te... | 1,101,776 |
public InfoWindow(Display display) { this.display=display; parentView=display.getCurrent(); form=new Form(SR.MS_ABOUT); form.addCommand(new Command(SR.MS_CLOSE, Command.BACK, 99)); form.append("Bombus v"+Version.version+"\nMobile Jabber client\n"); form.append(Versi... | public InfoWindow(Display display) { this.display=display; parentView=display.getCurrent(); form=new Form(SR.MS_ABOUT); form.addCommand(new Command(SR.MS_CLOSE, Command.BACK, 99)); form.append("Bombus v"+Version.version+"\nMobile Jabber client\n"); form.append(Versi... | 1,101,778 |
public AuthFailure(ParameterList params) throws MessageException { super(params); } | public AuthFailure(boolean compatibility) { super(params); } | 1,101,780 |
public AuthFailure(ParameterList params) throws MessageException { super(params); } | public AuthFailure(ParameterList params) throws MessageException { set("openid.mode", MODE_CANCEL); if (! compatibility) set("openid.ns", OPENID2_NS); } | 1,101,781 |
public ProfileMeta(Repository rep, long id_profile) throws KettleException { try { Row r = rep.getProfile(id_profile); if (r!=null) { setID(id_profile); name = r.searchValue("NAME").getString(); description = r.searchValue("DESCRIPTION").getString(); long pid[] = rep.getPermissionIDs(id_profil... | public ProfileMeta(Repository rep, long id_profile) throws KettleException { try { Row r = rep.getProfile(id_profile); if (r!=null) { setID(id_profile); name = r.searchValue("NAME").getString(); description = r.searchValue("DESCRIPTION").getString(); long pid[] = rep.getPermissionIDs(id_profil... | 1,101,782 |
public ProfileMeta(Repository rep, long id_profile) throws KettleException { try { Row r = rep.getProfile(id_profile); if (r!=null) { setID(id_profile); name = r.searchValue("NAME").getString(); description = r.searchValue("DESCRIPTION").getString(); long pid[] = rep.getPermissionIDs(id_profil... | public ProfileMeta(Repository rep, long id_profile) throws KettleException { try { Row r = rep.getProfile(id_profile); if (r!=null) { setID(id_profile); name = r.searchValue("NAME").getString(); description = r.searchValue("DESCRIPTION").getString(); long pid[] = rep.getPermissionIDs(id_profil... | 1,101,783 |
public Value replace(String repl, String with) { if (isNull()) return this; if (getString()==null) { setNull(); } else { setValue( Const.replace(getString(), repl, with) ); } return this; } | public Value replace(String repl, String with) { if (isNull()) return this; if (getString()==null) { setNull(); } else { setValue( Const.replace(getString(), repl, with) ); } return this; } | 1,101,784 |
void processFolder(File file, Writer writer) { if (file.isDirectory()) { File[] files = file.listFiles(); for (int i = 0; i < files.length; i++) { processFolder(files[i], writer); } } else { if (file.getName().toLowerCase().endsWith(".jpg") ||... | void processFolder(File file, Writer writer) { if (file.isDirectory()) { File[] files = file.listFiles(); for (int i = 0; i < files.length; i++) { processFolder(files[i], writer); } } else { if (file.getName().toLowerCase().endsWith(".jpg") ||... | 1,101,785 |
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,786 |
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,787 |
protected void keyPressed(int keyCode) { super.keyPressed(keyCode); if (keyCode==SE_CLEAR) { Contact c=(Contact)getFocusedObject(); if (c.getGroupType()!=Groups.TYPE_TRANSP && c.getGroupType()!=Groups.TYPE_SELF && c.getGroupType()!=Groups.TYPE_SEARCH_RESULT && c.origin<Co... | protected void keyPressed(int keyCode) { super.keyPressed(keyCode); if (keyCode==SE_CLEAR) { Contact c=(Contact)getFocusedObject(); if (c.getGroupType()!=Groups.TYPE_TRANSP && c.getGroupType()!=Groups.TYPE_SELF && c.getGroupType()!=Groups.TYPE_SEARCH_RESULT && c.origin<Co... | 1,101,788 |
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,791 |
public void errorLog(String s){ if (s==null) return; if (s.length()==0) return; new AlertBox(SR.MS_ERROR_, s, null, display, null); /*Alert error=new Alert(SR.MS_ERROR_, s, null, null); error.setTimeout(30000); error.addCommand(new Command(SR.MS_OK, Command.BACK, 1)); ... | 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.setTimeout(30000); error.addCommand(new Command(SR.MS_OK, Command.BACK, 1)); display.setCurrent(error, display.getCurrent())... | 1,101,792 |
public void userKeyPressed(int keyCode){ if (keyCode==KEY_NUM0 /* || keyCode==MOTOE680_REALPLAYER CONFLICT WITH ALCATEL. (platform=J2ME)*/) { if (messageCount==0) return; Object atcursor=getFocusedObject(); Contact c=null; if (atcursor instanceof Contact) c=(Conta... | public void userKeyPressed(int keyCode){ if (keyCode==KEY_NUM0 /* || keyCode==MOTOE680_REALPLAYER CONFLICT WITH ALCATEL. (platform=J2ME)*/) { if (messageCount==0) return; Object atcursor=getFocusedObject(); Contact c=null; if (atcursor instanceof Contact) c=(Conta... | 1,101,793 |
protected void getTimeList(Element parentElement, SOSLayerCapabilities layerCaps) throws GMLException { NodeList timeElts = dom.getElements(parentElement, "eventTime/*"); int listSize = timeElts.getLength(); ArrayList<TimeInfo> timeList = new ArrayList<TimeInfo>(listSize); layerCaps.setT... | protected void getTimeList(Element parentElement, SOSLayerCapabilities layerCaps) throws GMLException { NodeList timeElts = dom.getElements(parentElement, "eventTime/*"); if(timeElts.getLength()==0) { timeElts = dom.getElements(parentElement, "time/*"); if(timeElts.getLength()==0) throw new GMLExcepti... | 1,101,794 |
protected boolean excludeLibrary(File file) throws IOException { List<String> warLibs = getWarLibs(); if ((warLibs != null) && (!warLibs.isEmpty())) { //if the war libraries were explicitly declared, don't exclude anything. return false; } //instantiate a loader with this library only in its pat... | protected boolean excludeLibrary(File file) throws IOException { List<String> warLibs = getWarLibs(); if ((warLibs != null) && (!warLibs.isEmpty())) { //if the war libraries were explicitly declared, don't exclude anything. return false; } //instantiate a loader with this library only in its pat... | 1,101,795 |
protected boolean excludeLibrary(File file) throws IOException { List<String> warLibs = getWarLibs(); if ((warLibs != null) && (!warLibs.isEmpty())) { //if the war libraries were explicitly declared, don't exclude anything. return false; } //instantiate a loader with this library only in its pat... | protected boolean excludeLibrary(File file) throws IOException { List<String> warLibs = getWarLibs(); if ((warLibs != null) && (!warLibs.isEmpty())) { //if the war libraries were explicitly declared, don't exclude anything. return false; } //instantiate a loader with this library only in its pat... | 1,101,796 |
public void invokeJavac(String classpath, File compileDir, List<String> additionalArgs, String[] sourceFiles) throws EnunciateException { List<String> args = new ArrayList<String>(); args.add("-cp"); args.add(classpath); if (isDebug()) { args.add("-verbose"); } args.add("-d"); args.add(compi... | public void invokeJavac(String classpath, File compileDir, List<String> additionalArgs, String[] sourceFiles) throws EnunciateException { List<String> args = new ArrayList<String>(); args.add("-cp"); args.add(classpath); if (isDebug()) { args.add("-verbose"); } args.add("-d"); args.add(compi... | 1,101,797 |
public void invokeJavac(String classpath, File compileDir, List<String> additionalArgs, String[] sourceFiles) throws EnunciateException { List<String> args = new ArrayList<String>(); args.add("-cp"); args.add(classpath); if (isDebug()) { args.add("-verbose"); } args.add("-d"); args.add(compi... | public void invokeJavac(String classpath, File compileDir, List<String> additionalArgs, String[] sourceFiles) throws EnunciateException { List<String> args = new ArrayList<String>(); args.add("-cp"); args.add(classpath); if (isDebug()) { args.add("-verbose"); } args.add("-d"); args.add(compi... | 1,101,798 |
public void drawImage(Graphics g, int index, int x, int y) { if (index>0x0ffffff) ((ImageList)transpSkins.elementAt( (index>>24) -1 )).drawImage(g, index & 0xff, x, y); else super.drawImage(g, index, x, y); } | public void drawImage(Graphics g, int index, int x, int y) { if (index>66000) { ((ImageList)transpSkins.elementAt( (index>>24) -1 )).drawImage(g, index & 0xff, x, y); else super.drawImage(g, index, x, y); } | 1,101,801 |
public void drawImage(Graphics g, int index, int x, int y) { if (index>0x0ffffff) ((ImageList)transpSkins.elementAt( (index>>24) -1 )).drawImage(g, index & 0xff, x, y); else super.drawImage(g, index, x, y); } | public void drawImage(Graphics g, int index, int x, int y) { if (index>0x0ffffff) ((ImageList)transpSkins.elementAt( (index>>24) -1 )).drawImage(g, index & 0xff, x, y); } else if(index<66000 && index>1000) { ((ImageList)menuIcons.elementAt(0)).drawImage(g, index & 0xff, x, y); } else super... | 1,101,802 |
public Value multiply(Value v) throws KettleValueException { // a number and a string! if ((v.isString() && isNumeric()) || (v.isNumeric() && isString())) { StringBuffer s; String append=""; int n; if (v.isString()) { s=new StringBuffer(v.getString()); append=v.getString(); n=(int)getIntege... | public Value multiply(Value v) throws KettleValueException { // a number and a string! if ((v.isString() && isNumeric()) || (v.isNumeric() && isString())) { StringBuffer s; String append=""; int n; if (v.isString()) { s=new StringBuffer(v.getString()); append=v.getString(); n=(int)getIntege... | 1,101,803 |
public PackedSymbolList(Packing packing, Symbol [] symbols, int length, Alphabet alfa) throws IllegalAlphabetException,IllegalArgumentException { // verify that the alphabet is one I can deal with. if(packing.getAlphabet() != alfa) { throw new IllegalAlphabetException( "Can't pack with alphabet " +... | public PackedSymbolList(Packing packing, Symbol [] symbols, int length, Alphabet alfa) throws IllegalAlphabetException,IllegalArgumentException { // verify that the alphabet is one I can deal with. if(packing.getAlphabet() != alfa) { throw new IllegalAlphabetException( "Can't pack with alphabet " +... | 1,101,804 |
private void key(int keyCode) { if (keyCode==-22) { sd.roster.setLight(false); new KeyBlock(display, getTitleItem(), cf.keyLock, cf.ghostMotor, true); } if (keyCode==-4) { if (Version.getPlatformName().indexOf("SIE") > -1) { ... | private void key(int keyCode) { if (keyCode==-22) { sd.roster.setLight(false); new KeyBlock(display, getTitleItem(), cf.keyLock, cf.ghostMotor, true); } if (keyCode==-4) { if (Version.getPlatformName().indexOf("SIE") > -1) { ... | 1,101,805 |
private void key(int keyCode) { if (keyCode==-22) { sd.roster.setLight(false); new KeyBlock(display, getTitleItem(), cf.keyLock, cf.ghostMotor, true); } if (keyCode==-4) { if (Version.getPlatformName().indexOf("SIE") > -1) { ... | private void key(int keyCode) { if (keyCode==-22) { sd.roster.setLight(false); new KeyBlock(display, getTitleItem(), cf.keyLock, cf.ghostMotor, true); } if (keyCode==-4) { if (isSiemens) { destroyView(); return;... | 1,101,806 |
private void key(int keyCode) { if (keyCode==-22) { sd.roster.setLight(false); new KeyBlock(display, getTitleItem(), cf.keyLock, cf.ghostMotor, true); } if (keyCode==-4) { if (Version.getPlatformName().indexOf("SIE") > -1) { ... | private void key(int keyCode) { if (keyCode==-22) { sd.roster.setLight(false); new KeyBlock(display, getTitleItem(), cf.keyLock, cf.ghostMotor, true); } if (keyCode==-4) { if (Version.getPlatformName().indexOf("SIE") > -1) { ... | 1,101,807 |
public InfoWindow(Display display) { this.display=display; parentView=display.getCurrent(); form=new Form(SR.MS_ABOUT); form.addCommand(new Command(SR.MS_CLOSE, Command.BACK, 99)); form.append("Bombus v"+Version.version+"\nMobile Jabber client\n"); form.append(Versi... | public InfoWindow(Display display) { this.display=display; parentView=display.getCurrent(); form=new Form(SR.MS_ABOUT); form.addCommand(new Command(SR.MS_CLOSE, Command.BACK, 99)); form.append("BombusMod v"+Version.version+"\nMobile Jabber client\n"); form.append(Ve... | 1,101,808 |
public TextFieldCombo(String label, String value, int maxlen, int constraints, String id, Display display) { super(label, null, maxlen, constraints); this.display=display; this.label=label; this.id="mru-"+id; loadRecentList(); try { if (value==null)... | public TextFieldCombo(String label, String value, int maxlen, int constraints, String id, Display display) { super(label, null, maxlen, constraints); this.display=display; this.label=label; this.id="mru-"+id; loadRecentList(); try { if (value==null)... | 1,101,809 |
protected int getTitleBGndRGB() {return Colors.HEADER_BGND;} | protected int getTitleBGndRGB() {return Colors.BAR_BGND;} | 1,101,810 |
protected int getTitleRGB() {return Colors.HEADER_INK;} | protected int getTitleRGB() {return Colors.BAR_INK;} | 1,101,811 |
public int getVHeight() { return font.getHeight(); } | public int getVHeight() { return this.messageViewer.getHeight(); } | 1,101,812 |
public Set<String> getReferencedNamespaces() { TreeSet<String> namespaces = new TreeSet<String>(); Collection<WebMessage> messages = getMessages(); for (WebMessage message : messages) { for (WebMessagePart part : message.getParts()) { namespaces.add(part.getElementQName().getNamespaceURI(/**/)); ... | public Set<String> getReferencedNamespaces() { HashSet<String> namespaces = new HashSet<String>(); Collection<WebMessage> messages = getMessages(); for (WebMessage message : messages) { for (WebMessagePart part : message.getParts()) { namespaces.add(part.getElementQName().getNamespaceURI(/**/)); ... | 1,101,813 |
protected void setUp() throws Exception { super.setUp(); seed = null != rnd ? rnd.nextLong() : System.currentTimeMillis(); System.out.println("\n\nRANDOM SEED " + seed + "\n"); rnd = new Random(seed); refDate = new DTBuilder(1900 + rnd.nextInt(200), 1, rnd.nextInt(366) + 1) .toDate(); } | protected void setUp() throws Exception { super.setUp(); seed = null != rnd ? rnd.nextLong() : System.currentTimeMillis(); System.out.println("RANDOM SEED " + seed + " : " + getName()); rnd = new Random(seed); refDate = new DTBuilder(1900 + rnd.nextInt(200), 1, rnd.nextInt(366) + 1) .toDate(); ... | 1,101,814 |
public String getCompositorName() { return getPropertyOrder() == null ? "all" : "sequence"; } | public String getCompositorName() { return "sequence"; } | 1,101,815 |
public Dimensions[] getDimensions() { String[] dimensionsStrings = readOption("dimensions").split(" "); Dimensions[] dimensions = new Dimensions[dimensionsStrings.length]; for (int i = 0; i < dimensions.length; i++) dimensions[i] = new Dimensions(dimensionsStrings[i]); return dimensions; } | public Dimensions[] getDimensions() { String[] dimensionsStrings = readOption("dimensions").split(" "); Dimensions[] dimensions = new Dimensions[dimensionsStrings.length]; for (int i = 0; i < dimensions.length; i++) dimensions[i] = new Dimensions(dimensionsStrings[i]); return dimensions; } | 1,101,816 |
public Dimensions[] getDimensions() { String[] dimensionsStrings = readOption("dimensions").split(" "); Dimensions[] dimensions = new Dimensions[dimensionsStrings.length]; for (int i = 0; i < dimensions.length; i++) dimensions[i] = new Dimensions(dimensionsStrings[i]); return dimensions; } | public Dimensions[] getDimensions() { String[] dimensionsStrings = readOption("dimensions").split(" "); Dimensions[] dimensions = new Dimensions[dimensionsStrings.length]; for (int i = 0; i < dimensions.length; i++) dimensions[i] = new Dimensions(dimensionsTokens.nextToken()); return dimensions; } | 1,101,817 |
private void setMucMod(){ JabberDataBlock iq=new Iq(victim.jid.getBareJid(), Iq.TYPE_SET, "itemmuc"); JabberDataBlock query=iq.addChild("query", null); query.setNameSpace("http://jabber.org/protocol/muc#admin"); //TODO: separate usecases to muc#owner, muc#admin and muc#moderator ... | private void setMucMod(){ JabberDataBlock iq=new Iq(victim.jid.getBareJid(), Iq.TYPE_SET, "itemmuc"); JabberDataBlock query=iq.addChild("query", null); query.setNameSpace("http://jabber.org/protocol/muc#admin"); //TODO: separate usecases to muc#owner, muc#admin and muc#moderator ... | 1,101,818 |
public Object createProxy() { return createProxy( getDelegate().getClass().getInterfaces() ); } | public Object createProxy() { return createProxy( ProxyUtils.getAllInterfaces( getDelegate().getClass() ) ); } | 1,101,819 |
public Value num2str(String arg0, String arg1, String arg2, String arg3) throws KettleValueException { if (isNull()) { setType(VALUE_TYPE_STRING); } else { // Number to String conversion... if (getType()==VALUE_TYPE_NUMBER || getType()==VALUE_TYPE_INTEGER) { NumberFormat nf = NumberFormat.getI... | public Value num2str(String arg0, String arg1, String arg2, String arg3) throws KettleValueException { if (isNull()) { setType(VALUE_TYPE_STRING); } else { // Number to String conversion... if (getType()==VALUE_TYPE_NUMBER || getType()==VALUE_TYPE_INTEGER) { NumberFormat nf = NumberFormat.getI... | 1,101,820 |
public void userKeyPressed(int keyCode){ if (keyCode==KEY_NUM0 /* || keyCode==MOTOE680_REALPLAYER CONFLICT WITH ALCATEL. (platform=J2ME)*/) { if (messageCount==0) return; Object atcursor=getFocusedObject(); Contact c=null; if (atcursor instanceof Contact) c=(Conta... | public void userKeyPressed(int keyCode){ if (keyCode==KEY_NUM0 /* || keyCode==MOTOE680_REALPLAYER CONFLICT WITH ALCATEL. (platform=J2ME)*/) { if (messageCount==0) return; Object atcursor=getFocusedObject(); Contact c=null; if (atcursor instanceof Contact) c=(Conta... | 1,101,821 |
public AssociationError(ParameterList params) throws MessageException { super(params); } | protected AssociationError(String msg, AssociationSessionType type) { super(params); } | 1,101,822 |
public AssociationError(ParameterList params) throws MessageException { super(params); } | public AssociationError(ParameterList params) throws MessageException { super(msg); set("ns", OPENID2_NS); set("error_code", ASSOC_ERR); set("session_type", type.getSessionType()); set("assoc_type", type.getAssociationType()); } | 1,101,823 |
public DirectError(String msg) { this(msg, false); } | protected DirectError(String msg) { this(msg, false); } | 1,101,824 |
public String getNamespace() { String namespace = ""; if (xmlSchema != null) { namespace = xmlSchema.namespace(); } return namespace; } | public String getNamespace() { String namespace = null; if (xmlSchema != null) { namespace = xmlSchema.namespace(); } return namespace; } | 1,101,825 |
protected String convert(TypeMirror typeMirror) { String conversion; if (typeMirror instanceof DeclaredType) { conversion = convert(((DeclaredType) typeMirror).getDeclaration()); } else if (typeMirror instanceof ArrayType) { conversion = convert(((ArrayType) typeMirror).getComponentType()); }... | protected String convert(TypeMirror typeMirror) throws TemplateModelException { String conversion; if (typeMirror instanceof DeclaredType) { conversion = convert(((DeclaredType) typeMirror).getDeclaration()); } else if (typeMirror instanceof ArrayType) { conversion = convert(((ArrayType) typeMir... | 1,101,826 |
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,827 |
public static Account loadAccount(boolean launch){ StaticData sd=StaticData.getInstance(); Account a=sd.account=Account.createFromStorage(Config.getInstance().accountIndex); if (a!=null) { sd.roster.logoff(); sd.roster.resetRoster(); } else if (a!=null && launch){ sd.roster.logoff()... | public static Account loadAccount(boolean launch){ StaticData sd=StaticData.getInstance(); Account a=sd.account=Account.createFromStorage(Config.getInstance().accountIndex); if (a!=null) { sd.roster.logoff(); sd.roster.resetRoster(); } else if (a!=null && launch){ sd.roster.logoff()... | 1,101,830 |
protected EnunciateFreemarkerModel getRootModel() throws TemplateModelException { EnunciateFreemarkerModel model = (EnunciateFreemarkerModel) super.getRootModel(); model.put("prefix", new PrefixMethod()); model.put("qname", new QNameMethod()); AnnotationProcessorEnvironment env = Context.getCurrentEnviron... | protected EnunciateFreemarkerModel getRootModel() throws TemplateModelException { EnunciateFreemarkerModel model = (EnunciateFreemarkerModel) super.getRootModel(); model.put("prefix", new PrefixMethod()); model.put("qname", new QNameMethod()); AnnotationProcessorEnvironment env = Context.getCurrentEnviron... | 1,101,831 |
public void paint(Graphics graphics) { width=getWidth(); // patch for SE height=getHeight(); Graphics g=(offscreen==null)? graphics: offscreen.getGraphics(); fullMode=Config.getInstance().isbottom; switch (fullMode) { case 0: paintTop=false; paintBottom=false; break; ... | public void paint(Graphics graphics) { width=getWidth(); // patch for SE height=getHeight(); Graphics g=(offscreen==null)? graphics: offscreen.getGraphics(); fullMode=Config.getInstance().isbottom; switch (fullMode) { case 0: paintTop=false; paintBottom=false; break; ... | 1,101,835 |
protected void loadFromStorage(){ try { DataInputStream inputStream=NvStorage.ReadFileRecord("config", 0); accountIndex = inputStream.readInt(); showOfflineContacts=inputStream.readBoolean(); fullscreen=inputStream.readBoolean(); def_profile = inputStream.readInt(); smiles=inputStream.readBo... | protected void loadFromStorage(){ try { DataInputStream inputStream=NvStorage.ReadFileRecord("config", 0); accountIndex = inputStream.readInt(); showOfflineContacts=inputStream.readBoolean(); fullscreen=inputStream.readBoolean(); def_profile = inputStream.readInt(); smiles=inputStream.readBo... | 1,101,836 |
public void saveToStorage(){ DataOutputStream outputStream=NvStorage.CreateDataOutputStream(); try { outputStream.writeInt(accountIndex); outputStream.writeBoolean(showOfflineContacts); outputStream.writeBoolean(fullscreen); outputStream.writeInt(def_profile); outputStream.writeBoolean(smiles)... | public void saveToStorage(){ DataOutputStream outputStream=NvStorage.CreateDataOutputStream(); try { outputStream.writeInt(accountIndex); outputStream.writeBoolean(showOfflineContacts); outputStream.writeBoolean(fullscreen); outputStream.writeInt(def_profile); outputStream.writeBoolean(smiles)... | 1,101,837 |
public ExplicitJAXWSAnnotationServiceFactory(String typeSetId, Map requestWrappers, Map responseWrappers) throws IOException, ClassNotFoundException { super( ExplicitWebAnnotations.readFrom(ExplicitJAXWSAnnotationServiceFactory.class.getResourceAsStream("/" + typeSetId + ".annotations")), XFireFactory.ne... | public ExplicitJAXWSAnnotationServiceFactory(String typeSetId) throws IOException, ClassNotFoundException { super( ExplicitWebAnnotations.readFrom(ExplicitJAXWSAnnotationServiceFactory.class.getResourceAsStream("/" + typeSetId + ".annotations")), XFireFactory.newInstance().getXFire().getTransportManager(... | 1,101,838 |
public ExplicitJAXWSAnnotationServiceFactory(String typeSetId, Map requestWrappers, Map responseWrappers) throws IOException, ClassNotFoundException { super( ExplicitWebAnnotations.readFrom(ExplicitJAXWSAnnotationServiceFactory.class.getResourceAsStream("/" + typeSetId + ".annotations")), XFireFactory.ne... | public ExplicitJAXWSAnnotationServiceFactory(String typeSetId, Map requestWrappers, Map responseWrappers) throws IOException, ClassNotFoundException { super( ExplicitWebAnnotations.readFrom(ExplicitJAXWSAnnotationServiceFactory.class.getResourceAsStream("/" + typeSetId + ".annotations")), XFireFactory.ne... | 1,101,839 |
public void commandAction(Command c, Displayable d){ if (c==cmdCancel) exitBookmarks(); if (c==cmdJoin) eventOk(); if (c==cmdNew) new ConferenceForm(display); //if (c==cmdRfsh) loadBookmarks(); if (c==cmdDel) deleteBookmark(); if (c==cmdDisco) new ServiceDiscovery(display, ((Book... | public void commandAction(Command c, Displayable d){ if (c==cmdCancel) exitBookmarks(); if (c==cmdJoin) eventOk(); if (c==cmdAdvJoin) { BookmarkItem join=(BookmarkItem)getFocusedObject(); if (join==null) return; if (join.isUrl) return; new ConferenceForm(display, join.toString(), join.password); } if... | 1,101,842 |
public void eventOk(){ BookmarkItem join=(BookmarkItem)getFocusedObject(); if (join==null) return; if (join.isUrl) return; new ConferenceForm(display, join.toString(), join.password); } | public void eventOk(){ BookmarkItem join=(BookmarkItem)getFocusedObject(); if (join==null) return; if (join.isUrl) return; StaticData sd=StaticData.getInstance(); ConferenceGroup grp=sd.roster.initMuc(join.toString(), join.password); JabberDataBlock x=new JabberDataBlock("x", null, null)... | 1,101,843 |
private void updateBottom(int key){ if (startMessage) { if (inputbox!=null) { inputbox.sendKey(key); } else { InputBox inputbox=new InputBox("", key); setInputBoxItem(inputbox); } } else { ... | private void updateBottom(int key){ if (startMessage) { if (inputbox!=null) { inputbox.sendKey(key); } else { InputBox inputbox=new InputBox("", key); setInputBoxItem(inputbox); } } else { ... | 1,101,844 |
public void userKeyPressed(int keyCode) { if (!startMessage) { super.userKeyPressed(keyCode); if (keyCode==KEY_NUM9) nextContact(); if (keyCode==KEY_STAR) { if (altInput) { startMessage=true; updateBottom(keyCode); ... | public void userKeyPressed(int keyCode) { if (!startMessage) { super.userKeyPressed(keyCode); if (keyCode==KEY_NUM9) nextContact(); if (keyCode==KEY_STAR) { startMessage=true; updateBottom(keyCode); ... | 1,101,845 |
public void userKeyPressed(int keyCode) { if (!startMessage) { super.userKeyPressed(keyCode); if (keyCode==KEY_NUM9) nextContact(); if (keyCode==KEY_STAR) { if (altInput) { startMessage=true; updateBottom(keyCode); ... | public void userKeyPressed(int keyCode) { if (!startMessage) { super.userKeyPressed(keyCode); if (keyCode==KEY_NUM9) nextContact(); if (keyCode==KEY_STAR) { if (altInput) { startMessage=true; updateBottom(keyCode); ... | 1,101,846 |
public static CtClass resolve( Class clazz ) { try { return classPool.get( ProxyUtils.getJavaClassName( clazz ) ); } catch( NotFoundException e ) { throw new ObjectProviderException( "Unable to find class " + clazz.getName() + " in defau... | public static CtClass resolve( Class clazz ) { synchronized( classLoaders ) { return classPool.get( ProxyUtils.getJavaClassName( clazz ) ); } catch( NotFoundException e ) { throw new ObjectProviderException( "Unable to find class " + cla... | 1,101,848 |
public static CtClass resolve( Class clazz ) { try { return classPool.get( ProxyUtils.getJavaClassName( clazz ) ); } catch( NotFoundException e ) { throw new ObjectProviderException( "Unable to find class " + clazz.getName() + " in defau... | public static CtClass resolve( Class clazz ) { try { return classPool.get( ProxyUtils.getJavaClassName( clazz ) ); } catch( NotFoundException e ) { throw new ObjectProviderException( "Unable to find class " + clazz.getName() + " in defau... | 1,101,849 |
public SmilePicker(Display display, MessageEdit me) { super(display); this.me=me; il = SmilesIcons.getInstance(); smileTable=MessageParser.getInstance().getSmileTable(); imgCnt=smileTable.size(); //il.getCount(); imgWidth=il.getWidth()... | public SmilePicker(Display display, MessageEdit me) { super(display); this.me=me; il = SmilesIcons.getInstance(); smileTable=MessageParser.getInstance().getSmileTable(); imgCnt=smileTable.size(); //il.getCount(); imgWidth=il.getWidth()... | 1,101,850 |
public void onSelect(){ try { me.addText( getTipString() ); } catch (Exception e) { /*e.printStackTrace();*/ } destroyView(); }; | public void onSelect(){ try { me.insertText( getTipString() , caretPos); } catch (Exception e) { /*e.printStackTrace();*/ } destroyView(); }; | 1,101,851 |
public static int getHeight(){ Font f=FontCache.getBalloonFont(); return f.getHeight(); } | public static int getHeight(){ Font f=FontCache.getBalloonFont(); return f.getHeight()+3; } | 1,101,852 |
protected EnunciateFreemarkerModel getRootModel() throws TemplateModelException { EnunciateFreemarkerModel model = (EnunciateFreemarkerModel) super.getRootModel(); AnnotationProcessorEnvironment env = Context.getCurrentEnvironment(); Collection<TypeDeclaration> typeDeclarations = env.getTypeDeclarations(); ... | protected EnunciateFreemarkerModel getRootModel() throws TemplateModelException { EnunciateFreemarkerModel model = (EnunciateFreemarkerModel) super.getRootModel(); AnnotationProcessorEnvironment env = Context.getCurrentEnvironment(); Collection<TypeDeclaration> typeDeclarations = env.getTypeDeclarations(); ... | 1,101,853 |
public EnunciateConfiguration() { this.modules = new TreeSet<DeploymentModule>(new DeploymentModuleComparator()); System.out.println("discovering services..."); Iterator discoveredModules = Service.providers(DeploymentModule.class); while (discoveredModules.hasNext()) { DeploymentModule discoveredMod... | public EnunciateConfiguration() { this.modules = new TreeSet<DeploymentModule>(new DeploymentModuleComparator()); Iterator discoveredModules = Service.providers(DeploymentModule.class); while (discoveredModules.hasNext()) { DeploymentModule discoveredModule = (DeploymentModule) discoveredModules.nex... | 1,101,854 |
public EnunciateConfiguration() { this.modules = new TreeSet<DeploymentModule>(new DeploymentModuleComparator()); System.out.println("discovering services..."); Iterator discoveredModules = Service.providers(DeploymentModule.class); while (discoveredModules.hasNext()) { DeploymentModule discoveredMod... | public EnunciateConfiguration() { this.modules = new TreeSet<DeploymentModule>(new DeploymentModuleComparator()); System.out.println("discovering services..."); Iterator discoveredModules = Service.providers(DeploymentModule.class); while (discoveredModules.hasNext()) { DeploymentModule discoveredMod... | 1,101,855 |
public AssociationResponse(ParameterList params) throws MessageException { super(params); } | protected AssociationResponse(AssociationRequest assocReq, Association assoc) throws AssociationException { super(params); } | 1,101,856 |
public AssociationResponse(ParameterList params) throws MessageException { super(params); } | public AssociationResponse(ParameterList params) throws MessageException { if (assocReq.isVersion2()) set("ns", OPENID2_NS); AssociationSessionType type = assocReq.getType(); setType(type); setAssocHandle(assoc.getHandle()); Long expiryIn = new Long( ( assoc.getExpiry().getTime() - System.currentTimeMi... | 1,101,857 |
public AuthRequest(String claimedId, String delegate, boolean compatibility, String returnToUrl, String handle, String realm, RealmVerifier verifier) throws MessageException { if (! compatibility) { set("openid.ns", OPENID2_NS); setClaimed(clai... | public AuthRequest(String claimedId, String delegate, boolean compatibility, String returnToUrl, String handle, String realm, RealmVerifier verifier) throws MessageException { if (! compatibility) { set("openid.ns", OPENID2_NS); setClaimed(clai... | 1,101,858 |
public AuthRequest(String claimedId, String delegate, boolean compatibility, String returnToUrl, String handle, String realm, RealmVerifier verifier) throws MessageException { if (! compatibility) { set("openid.ns", OPENID2_NS); setClaimed(clai... | public AuthRequest(String claimedId, String delegate, boolean compatibility, String returnToUrl, String handle, String realm, RealmVerifier verifier) throws MessageException { if (! compatibility) { set("openid.ns", OPENID2_NS); setClaimed(clai... | 1,101,859 |
public AuthRequest(String claimedId, String delegate, boolean compatibility, String returnToUrl, String handle, String realm, RealmVerifier verifier) throws MessageException { if (! compatibility) { set("openid.ns", OPENID2_NS); setClaimed(clai... | public AuthRequest(String claimedId, String delegate, boolean compatibility, String returnToUrl, String handle, String realm, RealmVerifier verifier) throws MessageException { if (! compatibility) { set("openid.ns", OPENID2_NS); setClaimed(clai... | 1,101,860 |
public AssociationRequest(AssociationSessionType type, DiffieHellmanSession dhSess) throws MessageException { // make sure the association / session type matches the dhSess if ( type == null || (dhSess == null && type.getHAlgorithm() != null) |... | public AssociationRequest(AssociationSessionType type, DiffieHellmanSession dhSess) throws MessageException { // make sure the association / session type matches the dhSess if ( type == null || (dhSess == null && type.getHAlgorithm() != null) |... | 1,101,861 |
public AssociationRequest(AssociationSessionType type, DiffieHellmanSession dhSess) throws MessageException { // make sure the association / session type matches the dhSess if ( type == null || (dhSess == null && type.getHAlgorithm() != null) |... | public AssociationRequest(AssociationSessionType type, DiffieHellmanSession dhSess) throws MessageException { // make sure the association / session type matches the dhSess if ( type == null || (dhSess == null && type.getHAlgorithm() != null) |... | 1,101,862 |
public VerifyResponse(ParameterList params) throws MessageException { super(params); } | protected VerifyResponse(boolean compatibility) { super(params); } | 1,101,863 |
public VerifyResponse(ParameterList params) throws MessageException { super(params); } | public VerifyResponse(ParameterList params) throws MessageException { set("mode", MODE_IDRES); setSignatureVerified(false); if (! compatibility) set("ns", OPENID2_NS); } | 1,101,864 |
public void run(){ SplashScreen s= SplashScreen.getInstance(); s.setProgress(5); try { NetworkAccu.getGPRS(); } catch (Exception e) { } try { s.img=Image.createImage("/images/splash.png"); if (Version.get... | public void run(){ SplashScreen s= SplashScreen.getInstance(); s.setProgress(5); try { NetworkAccu.getGPRS(); } catch (Exception e) { } try { s.img=Image.createImage("/images/splash.png"); if (Version.get... | 1,101,865 |
public QName getRef() { String namespace = getNamespace(); String typeNamespace = getTypeDefinition().getTargetNamespace(); namespace = namespace == null ? "<empty namespace>" : namespace; typeNamespace = typeNamespace == null ? "<empty namespace>" : typeNamespace; if ((!namespace.equals(typeNamespace)... | public QName getRef() { String namespace = getNamespace(); String typeNamespace = getTypeDefinition().getTargetNamespace(); namespace = namespace == null ? "<empty namespace>" : namespace; typeNamespace = typeNamespace == null ? "<empty namespace>" : typeNamespace; if (!namespace.equals(typeNamespace))... | 1,101,866 |
public void setValue(int vall) { this.value=vall; cl=Colors.getInstance(); switch(paramName) { case 0: cl.BALLOON_INK=value; break; case 1: cl.BALLOON_BGND=value; break; ... | public void setValue(int vall) { this.value=vall; cl=Colors.getInstance(); switch(paramName) { case 0: cl.BALLOON_INK=value; break; case 1: cl.BALLOON_BGND=value; break; ... | 1,101,867 |
public void setValue(int vall) { this.value=vall; cl=Colors.getInstance(); switch(paramName) { case 0: cl.BALLOON_INK=value; break; case 1: cl.BALLOON_BGND=value; break; ... | public void setValue(int vall) { this.value=vall; cl=Colors.getInstance(); switch(paramName) { case 0: cl.BALLOON_INK=value; break; case 1: cl.BALLOON_BGND=value; break; ... | 1,101,868 |
private void saveBookmarks() { new BookmarkQurery(BookmarkQurery.SAVE); } | private void saveBookmarks() { new BookmarkQuery(BookmarkQuery.SAVE); } | 1,101,869 |
public EnunciatedJAXWSServiceFactory(String typeSetId) { super(XFireFactory.newInstance().getXFire().getTransportManager()); ((AegisBindingProvider) getBindingProvider()).setTypeMappingRegistry(new EnunciatedJAXWSTypeRegistry(typeSetId)); } | public EnunciatedJAXWSServiceFactory(String typeSetId) { super(XFireFactory.newInstance().getXFire().getTransportManager()); ((AegisBindingProvider) getBindingProvider()).setTypeMappingRegistry(new EnunciatedJAXWSTypeRegistry(typeSetId)); } | 1,101,870 |
public void createBindingOperation(Service service, AbstractSoapBinding binding, OperationInfo op) { super.createBindingOperation(service, binding, op); try { binding.setSerializer(new EnunciatedJAXWSOperationBinding(op)); } catch (XFireFault e) { throw new XFireRuntimeException("Error setting t... | public void createBindingOperation(Service service, AbstractSoapBinding binding, OperationInfo op) { super.createBindingOperation(service, binding, op); try { binding.setSerializer(op, new EnunciatedJAXWSOperationBinding(op)); } catch (XFireFault e) { throw new XFireRuntimeException("Error setti... | 1,101,871 |
public EnunciatedJAXWSTypeRegistry(String typeSetId) { InputStream paramNamesStream = getClass().getResourceAsStream("/" + typeSetId + ".message.part.names"); if (paramNamesStream == null) { throw new IllegalArgumentException("Unkown type set id: " + typeSetId); } try { ObjectInputStream ois = n... | public EnunciatedJAXWSTypeRegistry(String typeSetId) { InputStream paramNamesStream = getClass().getResourceAsStream("/" + typeSetId + ".message.part.names"); if (paramNamesStream == null) { throw new IllegalArgumentException("Unkown type set id: " + typeSetId); } try { ObjectInputStream ois = n... | 1,101,872 |
public EnunciatedJAXWSTypeRegistry(String typeSetId) { InputStream paramNamesStream = getClass().getResourceAsStream("/" + typeSetId + ".message.part.names"); if (paramNamesStream == null) { throw new IllegalArgumentException("Unkown type set id: " + typeSetId); } try { ObjectInputStream ois = n... | public EnunciatedJAXWSTypeRegistry(String typeSetId) { InputStream paramNamesStream = getClass().getResourceAsStream("/" + typeSetId + ".message.part.names"); if (paramNamesStream == null) { throw new IllegalArgumentException("Unkown type set id: " + typeSetId); } try { ObjectInputStream ois = n... | 1,101,873 |
protected void loadFromStorage(){ try { DataInputStream inputStream=NvStorage.ReadFileRecord("config", 0); accountIndex = inputStream.readInt(); showOfflineContacts=inputStream.readBoolean(); fullscreen=inputStream.readBoolean(); def_profile = inputStream.readInt(); smiles=inputStream.readBo... | protected void loadFromStorage(){ try { DataInputStream inputStream=NvStorage.ReadFileRecord("config", 0); accountIndex = inputStream.readInt(); showOfflineContacts=inputStream.readBoolean(); fullscreen=inputStream.readBoolean(); def_profile = inputStream.readInt(); smiles=inputStream.readBo... | 1,101,874 |
public QName getRef() { String namespace = getNamespace(); String typeNamespace = getTypeDefinition().getTargetNamespace(); if (!namespace.equals(typeNamespace)) { return new QName(namespace, getName()); } return null; } | public QName getRef() { String namespace = getNamespace(); String typeNamespace = getTypeDefinition().getTargetNamespace(); if (namespace == null) { if (typeNamespace != null) { return new QName(namespace, getName()); } } else if (!namespace.equals(typeNamespace)) { return new QName(namespace, getName()... | 1,101,875 |
public Class generateProxyClass( ClassLoader classLoader, Class[] proxyClasses ) { try { final CtClass proxyClass = JavassistUtils.createClass( getSuperclass( proxyClasses ) ); JavassistUtils.addField( ObjectProvider.class, "provider", proxyClass ); ... | public Class generateProxyClass( ClassLoader classLoader, Class[] proxyClasses ) { try { final CtClass proxyClass = JavassistUtils.createClass( getSuperclass( proxyClasses ) ); JavassistUtils.addField( ObjectProvider.class, "provider", proxyClass ); ... | 1,101,876 |
public static Method[] getImplementationMethods( Class... proxyInterfaces ) { final Set<MethodSignature> signatures = new HashSet<MethodSignature>(); final List<Method> resultingMethods = new LinkedList<Method>(); for( int i = 0; i < proxyInterfaces.length; i++ ) { Class pr... | public static Method[] getImplementationMethods( Class... proxyInterfaces ) { final Set<MethodSignature> signatures = new HashSet<MethodSignature>(); final List<Method> resultingMethods = new LinkedList<Method>(); for( int i = 0; i < proxyInterfaces.length; i++ ) { Class pr... | 1,101,877 |
public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); //generate the JDK 1.4 client code. LinkedHashMap<String, String> conversions = getClientPackageConversions(); model.put("packageFor", new ClientPackageForMethod(conversions)); Client... | public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); //generate the JDK 1.4 client code. LinkedHashMap<String, String> conversions = getClientPackageConversions(); model.put("packageFor", new ClientPackageForMethod(conversions)); Client... | 1,101,878 |
public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); //generate the JDK 1.4 client code. LinkedHashMap<String, String> conversions = getClientPackageConversions(); model.put("packageFor", new ClientPackageForMethod(conversions)); Client... | public void doFreemarkerGenerate() throws IOException, TemplateException { EnunciateFreemarkerModel model = getModel(); //generate the JDK 1.4 client code. LinkedHashMap<String, String> conversions = getClientPackageConversions(); model.put("packageFor", new ClientPackageForMethod(conversions)); Client... | 1,101,879 |
public ClientClassnameForMethod(LinkedHashMap<String, String> conversions, boolean jdk15) { super(conversions); this.jdk15 = jdk15; } | public ClientClassnameForMethod(LinkedHashMap<String, String> conversions, boolean jdk15) { super(conversions); this.jdk15 = jdk15; } | 1,101,880 |
private StatusList() { statusList=new Vector(7); try { DataInputStream inputStream=NvStorage.ReadFileRecord("status", 0); createFromStream(Presence.PRESENCE_ONLINE, Presence.PRS_ONLINE, inputStream); createFromStream(Presence.PRESENCE_CHAT, Presence.PRS_CHAT, inputStream); createFromStre... | private StatusList() { statusList=new Vector(7); try { DataInputStream inputStream=NvStorage.ReadFileRecord("status", 0); createFromStream(Presence.PRESENCE_ONLINE, Presence.PRS_ONLINE, inputStream); createFromStream(Presence.PRESENCE_CHAT, Presence.PRS_CHAT, inputStream); createFromStre... | 1,101,881 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.