bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private IRubyObject splatValue(IRubyObject value) { if (value.isNil()) { return RubyArray.newArray(runtime, value); } return arrayValue(value); } | private IRubyObject splatValue(IRubyObject value) { if (value.isNil()) { return runtime.newArray(value); } return arrayValue(value); } | 3,225,059 |
public void visitArgsCatNode(ArgsCatNode iVisited) { IRubyObject args = eval(iVisited.getFirstNode()); IRubyObject secondArgs = splatValue(eval(iVisited.getSecondNode())); RubyArray list = args instanceof RubyArray ? (RubyArray) args : RubyArray.newArray(runtime, args); ... | public void visitArgsCatNode(ArgsCatNode iVisited) { IRubyObject args = eval(iVisited.getFirstNode()); IRubyObject secondArgs = splatValue(eval(iVisited.getSecondNode())); RubyArray list = args instanceof RubyArray ? (RubyArray) args : runtime.newArray(args); result = ... | 3,225,060 |
public void visitArrayNode(ArrayNode iVisited) { ArrayList list = new ArrayList(iVisited.size()); for (Iterator iterator = iVisited.iterator(); iterator.hasNext();) { list.add(eval((Node) iterator.next())); } result = RubyArray.newArray(runtime, list); } | public void visitArrayNode(ArrayNode iVisited) { ArrayList list = new ArrayList(iVisited.size()); for (Iterator iterator = iVisited.iterator(); iterator.hasNext();) { list.add(eval((Node) iterator.next())); } result = runtime.newArray(list); } | 3,225,061 |
public void visitAttrSetNode(AttrSetNode iVisited) { if (runtime.getCurrentFrame().getArgs().length != 1) { throw new ArgumentError(runtime, "wrong # of arguments(" + threadContext.getCurrentFrame().getArgs().length + "for 1)"); } result = self.setInstanceVariable(iVisited.getAttribu... | public void visitAttrSetNode(AttrSetNode iVisited) { if (runtime.getCurrentFrame().getArgs().length != 1) { throw runtime.newArgumentError("wrong # of arguments(" + threadContext.getCurrentFrame().getArgs().length + "for 1)"); } result = self.setInstanceVariable(iVisited.getAttribute... | 3,225,062 |
public void visitFixnumNode(FixnumNode iVisited) { result = RubyFixnum.newFixnum(runtime, iVisited.getValue()); } | public void visitFixnumNode(FixnumNode iVisited) { result = runtime.newFixnum(iVisited.getValue()); } | 3,225,063 |
public Box findBox(MouseEvent evt) { //Box box = panel.findElementBox(evt.getX(), evt.getY()); Box box = BoxFinder.findElementBox(panel.getRootBox(),evt.getX(),evt.getY(),null); if (box == null) return null; if (box instanceof LineBox) return null; return box; } | public Box findBox(MouseEvent evt) { //Box box = panel.findElementBox(evt.getX(), evt.getY()); Box box = BoxFinder.findElementBox2(panel.getRootBox(),evt.getX(),evt.getY(),null); if (box == null) return null; if (box instanceof LineBox) return null; return box; } | 3,225,064 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getSty... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getSty... | 3,225,065 |
public JavaSupport getJavaSupport() { throw new MockException(); } | publicJavaSupportgetJavaSupport(){ thrownewMockException(); } | 3,225,068 |
public boolean matches(MessageHolder item) { try { Message aMessage = item.getMessage(); if (matcherValue == null){ try { String value = getFieldValueString(aMessage, matcherFIXField); return (value == null); } catch (FieldNotFound ex){ return true; } } else { String value = getFieldVal... | public boolean matches(MessageHolder item) { try { Message aMessage = item.getMessage(); if (matcherValue == null){ try { String value = getFieldValueString(aMessage, matcherFIXField); return (value == null); } catch (FieldNotFound ex){ return true; } } else { String value = getFieldVal... | 3,225,069 |
public void testExecutionReportOrder() throws FieldNotFound { InternalID orderID1 = new InternalID("1"); InternalID clOrderID1 = new InternalID("2"); String execID = "3"; char execTransType = ExecTransType.STATUS; char execType = ExecType.PARTIAL_FILL; char ordStatus = OrdStatus.PARTIALLY_FILLED; char side = Si... | public void testExecutionReportOrder() throws FieldNotFound { InternalID orderID1 = new InternalID("1"); InternalID clOrderID1 = new InternalID("2"); String execID = "3"; char execTransType = ExecTransType.STATUS; char execType = ExecType.PARTIAL_FILL; char ordStatus = OrdStatus.PARTIALLY_FILLED; char side = Si... | 3,225,070 |
public void testExecutionReportOrder() throws FieldNotFound { InternalID orderID1 = new InternalID("1"); InternalID clOrderID1 = new InternalID("2"); String execID = "3"; char execTransType = ExecTransType.STATUS; char execType = ExecType.PARTIAL_FILL; char ordStatus = OrdStatus.PARTIALLY_FILLED; char side = Si... | public void testExecutionReportOrder() throws FieldNotFound { InternalID orderID1 = new InternalID("1"); InternalID clOrderID1 = new InternalID("2"); String execID = "3"; char execTransType = ExecTransType.STATUS; char execType = ExecType.PARTIAL_FILL; char ordStatus = OrdStatus.PARTIALLY_FILLED; char side = Si... | 3,225,071 |
public void testExecutionReportOrder() throws FieldNotFound { InternalID orderID1 = new InternalID("1"); InternalID clOrderID1 = new InternalID("2"); String execID = "3"; char execTransType = ExecTransType.STATUS; char execType = ExecType.PARTIAL_FILL; char ordStatus = OrdStatus.PARTIALLY_FILLED; char side = Si... | public void testExecutionReportOrder() throws FieldNotFound { InternalID orderID1 = new InternalID("1"); InternalID clOrderID1 = new InternalID("2"); String execID = "3"; char execTransType = ExecTransType.STATUS; char execType = ExecType.PARTIAL_FILL; char ordStatus = OrdStatus.PARTIALLY_FILLED; char side = Si... | 3,225,072 |
public void testExecutionReportOrder() throws FieldNotFound { InternalID orderID1 = new InternalID("1"); InternalID clOrderID1 = new InternalID("2"); String execID = "3"; char execTransType = ExecTransType.STATUS; char execType = ExecType.PARTIAL_FILL; char ordStatus = OrdStatus.PARTIALLY_FILLED; char side = Si... | public void testExecutionReportOrder() throws FieldNotFound { InternalID orderID1 = new InternalID("1"); InternalID clOrderID1 = new InternalID("2"); String execID = "3"; char execTransType = ExecTransType.STATUS; char execType = ExecType.PARTIAL_FILL; char ordStatus = OrdStatus.PARTIALLY_FILLED; char side = Si... | 3,225,073 |
public void testExecutionReportOrder() throws FieldNotFound { InternalID orderID1 = new InternalID("1"); InternalID clOrderID1 = new InternalID("2"); String execID = "3"; char execTransType = ExecTransType.STATUS; char execType = ExecType.PARTIAL_FILL; char ordStatus = OrdStatus.PARTIALLY_FILLED; char side = Si... | public void testExecutionReportOrder() throws FieldNotFound { InternalID orderID1 = new InternalID("1"); InternalID clOrderID1 = new InternalID("2"); String execID = "3"; char execTransType = ExecTransType.STATUS; char execType = ExecType.PARTIAL_FILL; char ordStatus = OrdStatus.PARTIALLY_FILLED; char side = Si... | 3,225,074 |
public void testGetLatestExecutionReports() throws FieldNotFound { FIXMessageHistory history = getMessageHistory(); Message order1 = FIXMessageUtil.newMarketOrder(new InternalID("1"), Side.BUY, new BigDecimal(1000), new MSymbol("ASDF"), TimeInForce.FILL_OR_KILL, new AccountID("ACCT")); Message executionReportForOrd... | public void testGetLatestExecutionReports() throws FieldNotFound { FIXMessageHistory history = getMessageHistory(); Message order1 = FIXMessageUtil.newMarketOrder(new InternalID("1"), Side.BUY, new BigDecimal(1000), new MSymbol("ASDF"), TimeInForce.FILL_OR_KILL, new AccountID("ACCT")); Message executionReportForOrd... | 3,225,075 |
public void testGetLatestExecutionReports() throws FieldNotFound { FIXMessageHistory history = getMessageHistory(); Message order1 = FIXMessageUtil.newMarketOrder(new InternalID("1"), Side.BUY, new BigDecimal(1000), new MSymbol("ASDF"), TimeInForce.FILL_OR_KILL, new AccountID("ACCT")); Message executionReportForOrd... | public void testGetLatestExecutionReports() throws FieldNotFound { FIXMessageHistory history = getMessageHistory(); Message order1 = FIXMessageUtil.newMarketOrder(new InternalID("1"), Side.BUY, new BigDecimal(1000), new MSymbol("ASDF"), TimeInForce.FILL_OR_KILL, new AccountID("ACCT")); Message executionReportForOrd... | 3,225,076 |
public void testGetLatestExecutionReports() throws FieldNotFound { FIXMessageHistory history = getMessageHistory(); Message order1 = FIXMessageUtil.newMarketOrder(new InternalID("1"), Side.BUY, new BigDecimal(1000), new MSymbol("ASDF"), TimeInForce.FILL_OR_KILL, new AccountID("ACCT")); Message executionReportForOrd... | public void testGetLatestExecutionReports() throws FieldNotFound { FIXMessageHistory history = getMessageHistory(); Message order1 = FIXMessageUtil.newMarketOrder(new InternalID("1"), Side.BUY, new BigDecimal(1000), new MSymbol("ASDF"), TimeInForce.FILL_OR_KILL, new AccountID("ACCT")); Message executionReportForOrd... | 3,225,077 |
public void paintFixed( Context c, BlockBox block ) { int xoff = 0; int yoff = 0; xoff = c.canvas.getWidth(); yoff = c.canvas.getHeight(); if ( block.right_set ) { xoff = xoff - block.width; } if ( block.bottom_set ) { //joshy: this should reall... | public void paintFixed( Context c, Box block ) { int xoff = 0; int yoff = 0; xoff = c.canvas.getWidth(); yoff = c.canvas.getHeight(); if ( block.right_set ) { xoff = xoff - block.width; } if ( block.bottom_set ) { //joshy: this should really be ... | 3,225,078 |
public void paintNormal( Context c, BlockBox block ) { paintBackground( c, block ); c.translateInsets( block ); paintComponent( c, block ); paintChildren( c, block ); c.untranslateInsets( block ); paintBorder( c, block ); } | public void paintNormal( Context c, Box block ) { paintBackground( c, block ); c.translateInsets( block ); paintComponent( c, block ); paintChildren( c, block ); c.untranslateInsets( block ); paintBorder( c, block ); } | 3,225,079 |
public void paintRelative( Context ctx, BlockBox block ) { ctx.getGraphics().translate( block.left, block.top ); paintNormal( ctx, block ); ctx.getGraphics().translate( -block.left, -block.top ); } | public void paintRelative( Context ctx, Box block ) { ctx.getGraphics().translate( block.left, block.top ); paintNormal( ctx, block ); ctx.getGraphics().translate( -block.left, -block.top ); } | 3,225,080 |
public EmailAddress addEmailAddress( String userId, String className, String classPK, String address, String typeId, boolean primary) throws PortalException, SystemException { User user = UserUtil.findByPrimaryKey(userId); _validate( null, user.getCompanyId(), className, classPK, address, typeId, primary); ... | public EmailAddress addEmailAddress( String userId, String className, String classPK, String address, String typeId, boolean primary) throws PortalException, SystemException { User user = UserUtil.findByPrimaryKey(userId); _validate( null, user.getCompanyId(), className, classPK, address, typeId, primary); ... | 3,225,081 |
public EmailAddress addEmailAddress( String userId, String className, String classPK, String address, String typeId, boolean primary) throws PortalException, SystemException { User user = UserUtil.findByPrimaryKey(userId); _validate( null, user.getCompanyId(), className, classPK, address, typeId, primary); ... | public EmailAddress addEmailAddress( String userId, String className, String classPK, String address, String typeId, boolean primary) throws PortalException, SystemException { User user = UserUtil.findByPrimaryKey(userId); _validate( null, user.getCompanyId(), className, classPK, address, typeId, primary); ... | 3,225,082 |
public EmailAddress updateEmailAddress( String emailAddressId, String address, String typeId, boolean primary) throws PortalException, SystemException { _validate(emailAddressId, null, null, null, address, typeId, primary); EmailAddress emailAddress = EmailAddressUtil.findByPrimaryKey(emailAddressId); emailA... | public EmailAddress updateEmailAddress( String emailAddressId, String address, String typeId, boolean primary) throws PortalException, SystemException { _validate(emailAddressId, null, null, null, address, typeId, primary); EmailAddress emailAddress = EmailAddressUtil.findByPrimaryKey(emailAddressId); emailA... | 3,225,083 |
public boolean isLeaf( Object nd ) { Node node = (Node)nd; //u.p("checking leaf: " + node.getNodeName()); //u.p("is: " + node.hasChildNodes()); return !node.hasChildNodes(); } | public boolean isLeaf( Object nd ) {Node node = (Node)nd;//u.p("checking leaf: " + node.getNodeName());//u.p("is: " + node.hasChildNodes());return !node.hasChildNodes();} | 3,225,084 |
public boolean equals(Object obj) { if(!(obj instanceof Sequential)) return false; for(ISeq s = seq(), ms = ((IPersistentCollection)obj).seq();s!=null;s = s.rest(), ms = ms.rest()) { if(ms == null || !RT.equal(s.first(),ms.first())) return false; } return true;} | public boolean equals(Object obj) { if(!(obj instanceof Sequential)) return false; for(ISeq s = seq(), ms = ((IPersistentCollection)obj).seq();s!=null;s = s.rest(), ms = ms.rest()) { if(ms == null || !RT.equal(s.first(),ms.first())) return false; } return true;} | 3,225,085 |
public boolean equals(Object obj) { if(!(obj instanceof Sequential)) return false; for(ISeq s = seq(), ms = ((IPersistentCollection)obj).seq();s!=null;s = s.rest(), ms = ms.rest()) { if(ms == null || !RT.equal(s.first(),ms.first())) return false; } return true;} | public boolean equals(Object obj) { if(!(obj instanceof Sequential)) return false; for(ISeq s = seq(), ms = ((IPersistentCollection)obj).seq();s!=null;s = s.rest(), ms = ms.rest()) { if(ms == null || !RT.equal(s.first(),ms.first())) return false; ISeq ms = ((IPersistentColl... | 3,225,086 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); PermissionChecker permissionChecker = themeDisplay.getPermissionChecker(); ... | 3,225,087 |
protected void updateUserPermissions(ActionRequest req) throws Exception { String resourceId = ParamUtil.getString(req, "resourceId"); String userId = ParamUtil.getString(req, "userIdsPosValue"); String[] actionIds = StringUtil.split( ParamUtil.getString(req, "userIdActionIds")); ThemeDisplay themeDisplay = ... | protected void updateUserPermissions(ActionRequest req) throws Exception { String resourceId = ParamUtil.getString(req, "resourceId"); String userId = ParamUtil.getString(req, "userIdsPosValue"); String[] actionIds = StringUtil.split( ParamUtil.getString(req, "userIdActionIds")); ThemeDisplay themeDisplay = ... | 3,225,088 |
protected Control createDialogArea(Composite parent) { // Run super. Composite composite = (Composite)super.createDialogArea(parent); // Add perspective list. list = new TableViewer(composite, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); list.getTable().setFont(parent.getFont()); list.setLabelProvider(new PerspLabelProv... | protected Control createDialogArea(Composite parent) { // Run super. Composite composite = (Composite)super.createDialogArea(parent); // Add perspective list. list = new TableViewer(composite, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); list.getTable().setFont(parent.getFont()); list.setLabelProvider(new PerspLabelProv... | 3,225,090 |
public void init(ServletConfig config) throws ServletException { super.init(config); String servletClass = config.getInitParameter("servlet-class"); ClassLoader classLoader = PortalClassLoaderUtil.getClassLoader(); try { _servlet = (HttpServlet)classLoader.loadClass( servletClass).newInstance(); } catch (Cl... | public void init(ServletConfig config) throws ServletException { super.init(config); String servletClass = config.getInitParameter("servlet-class"); ClassLoader classLoader = PortalClassLoaderUtil.getClassLoader(); try { _servlet = (HttpServlet)classLoader.loadClass( servletClass).newInstance(); } catch (Cl... | 3,225,091 |
public void loadFile(File file, boolean wrap) { Asserts.notNull(file, "No such file to load"); try { BufferedReader source = new BufferedReader(new FileReader(file)); loadScript(file.getPath(), source, wrap); source.close(); } catch (IOException ioExcptn) { ... | public void loadFile(File file, boolean wrap) { assert file != null : "No such file to load"; try { BufferedReader source = new BufferedReader(new FileReader(file)); loadScript(file.getPath(), source, wrap); source.close(); } catch (IOException ioExcptn) { ... | 3,225,092 |
protected void setUp() throws Exception { System.out.println("DeletionSyncTest.setUp()"); super.setUp(); makeFriends(); FolderInfo testFolder = new FolderInfo("testFolder", IdGenerator.makeId(), true); folder1 = getContoller1().getFolderRepository().createFolder( tes... | protected void setUp() throws Exception { System.out.println("DeletionSyncTest.setUp()"); super.setUp(); makeFriends(); FolderInfo testFolder = new FolderInfo("testFolder", IdGenerator .makeId(), true); folder1 = getContoller1().getFolderRepository().createFolder( te... | 3,225,093 |
public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | 3,225,094 |
public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | 3,225,095 |
public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | publicvoidtestDeletionSync()throwsIOException,InterruptedException{//file"host"and"client"folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD);folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS);Filefile1=createTestFile(folder1,"/TestFile.txt","Thisarethecontentsofthetestfile".getBytes());Filefile2=createTestFile(folder... | 3,225,096 |
public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | 3,225,097 |
public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(fol... | 3,225,098 |
public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | 3,225,099 |
public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | 3,225,100 |
public void testDeletionSync() throws IOException, InterruptedException { // file "host" and "client" folder1.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); folder2.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); File file1 = createTestFile(folder1, "/TestFile.txt", "This are the c... | folder1.setSyncProfile(SyncProfile.SYNCHRONIZE_PCS); folder2.setSyncProfile(SyncProfile.MANUAL_DOWNLOAD); RecycleBin recycleBin = getContoller2().getRecycleBin(); List<FileInfo> deletedFiles = getContoller2().getRecycleBin() .getAllRecycledFiles(); for (FileInfo deletedFileInfo : deletedFiles) { recycleBin.restoreFr... | 3,225,101 |
public RubyFixnum arity() { return RubyFixnum.newFixnum(getRuntime(), method.getArity().getValue()); } | public RubyFixnum arity() { return getRuntime().newFixnum(method.getArity().getValue()); } | 3,225,102 |
public IRubyObject call(IRubyObject[] args) { if (args == null) { args = IRubyObject.NULL_ARRAY; } if (args.length != method.getArity().getValue()) { throw new ArgumentError(getRuntime(), ""); } getRuntime().getIterStack().push(getRuntime().isBlockGiven(... | public IRubyObject call(IRubyObject[] args) { if (args == null) { args = IRubyObject.NULL_ARRAY; } if (args.length != method.getArity().getValue()) { throw getRuntime().newArgumentError(""); } getRuntime().getIterStack().push(getRuntime().isBlockGiven() ... | 3,225,103 |
public IRubyObject to_proc() { return runtime.iterate( callbackFactory().getSingletonMethod(RubyMethod.class, "mproc"), runtime.getNil(), callbackFactory().getBlockMethod(RubyMethod.class, "bmcall"), this); } | public IRubyObject to_proc() { return getRuntime().iterate( callbackFactory().getSingletonMethod(RubyMethod.class, "mproc"), runtime.getNil(), callbackFactory().getBlockMethod(RubyMethod.class, "bmcall"), this); } | 3,225,104 |
public IRubyObject to_proc() { return runtime.iterate( callbackFactory().getSingletonMethod(RubyMethod.class, "mproc"), runtime.getNil(), callbackFactory().getBlockMethod(RubyMethod.class, "bmcall"), this); } | public IRubyObject to_proc() { return runtime.iterate( callbackFactory().getSingletonMethod(RubyMethod.class, "mproc"), getRuntime().getNil(), callbackFactory().getBlockMethod(RubyMethod.class, "bmcall"), this); } | 3,225,105 |
public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; double x = pf.getImageableX(); double y = pf.getImageableY(); double w = pf.getImageableWidth(); double h = pf.getImageableHeight(); g2.translate(x, ... | public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; double x = pf.getImageableX(); double y = pf.getImageableY(); double w = pf.getImageableWidth(); double h = pf.getImageableHeight(); g2.translate(x, ... | 3,225,106 |
public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; double x = pf.getImageableX(); double y = pf.getImageableY(); double w = pf.getImageableWidth(); double h = pf.getImageableHeight(); g2.translate(x, ... | public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; double x = pf.getImageableX(); double y = pf.getImageableY(); double w = pf.getImageableWidth(); double h = pf.getImageableHeight(); g2.translate(x, ... | 3,225,107 |
public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; double x = pf.getImageableX(); double y = pf.getImageableY(); double w = pf.getImageableWidth(); double h = pf.getImageableHeight(); g2.translate(x, ... | publicintprint(Graphicsg,PageFormatpf,intpage){try{Graphics2Dg2=(Graphics2D)g;doublex=pf.getImageableX();doubley=pf.getImageableY();doublew=pf.getImageableWidth();doubleh=pf.getImageableHeight();g2.translate(x,y);//Uu.p("printing:page="+page+"clip="+g.getClipRect());//quitifthispagewouldputusoverthelengthofthedocumenti... | 3,225,108 |
public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; double x = pf.getImageableX(); double y = pf.getImageableY(); double w = pf.getImageableWidth(); double h = pf.getImageableHeight(); g2.translate(x, ... | public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; double x = pf.getImageableX(); double y = pf.getImageableY(); double w = pf.getImageableWidth(); double h = pf.getImageableHeight(); g2.translate(x, ... | 3,225,109 |
public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; double x = pf.getImageableX(); double y = pf.getImageableY(); double w = pf.getImageableWidth(); double h = pf.getImageableHeight(); g2.translate(x, ... | public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; double x = pf.getImageableX(); double y = pf.getImageableY(); double w = pf.getImageableWidth(); double h = pf.getImageableHeight(); g2.translate(x, ... | 3,225,110 |
public Box createBox(Context c, Content content) { AnonymousBlockBox block = new AnonymousBlockBox(text, c); return block; } | public Box createBox(Context c, Content content) { AnonymousBlockBox block = new AnonymousBlockBox(content); return block; } | 3,225,111 |
private void addControlListeners() { control.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent event) { dispose(); } }); control.addFocusListener(new FocusListener() { public void focusGained(FocusEvent event) { hasFocus = true; if (showOnlyOnFocus) { update(); ... | private void addControlListeners() { control.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent event) { dispose(); } }); control.addFocusListener(new FocusListener() { public void focusGained(FocusEvent event) { hasFocus = true; if (showOnlyOnFocus) { update(); ... | 3,225,112 |
public void paintControl(PaintEvent event) { Control control = (Control) event.widget; Rectangle rect = getDecorationRectangle(control); if (shouldShowDecoration()) { event.gc.drawImage(decoration.getImage(), rect.x, rect.y); System.out.println("Drawing image"); //$NON-NLS-1$ } } | public void paintControl(PaintEvent event) { Control control = (Control) event.widget; Rectangle rect = getDecorationRectangle(control); if (shouldShowDecoration()) { event.gc.drawImage(decoration.getImage(), rect.x, rect.y); //$NON-NLS-1$ } } | 3,225,113 |
public Object getContent(Context c) { return ContentUtil.getInlineContentList(_elem, c); } | public List getContent(Context c) { return ContentUtil.getInlineContentList(_elem, c); } | 3,225,114 |
private void performFileImport(File[] files, IContainer target, IProgressMonitor monitor) { IOverwriteQuery query = new IOverwriteQuery() { public String queryOverwrite(String pathString) { if (alwaysOverwrite) return ALL; final String re... | private void performFileImport(File[] files, IContainer target, IProgressMonitor monitor) { IOverwriteQuery query = new IOverwriteQuery() { public String queryOverwrite(String pathString) { if (alwaysOverwrite) return ALL; final String re... | 3,225,116 |
public boolean equals(Object object) { if (!(object instanceof ActivityDefinition)) return false; ActivityDefinition castedObject = (ActivityDefinition) object; boolean equals = true; equals &= Util.equals(id, castedObject.id); equals &= Util.equals(name, castedObject.n... | public boolean equals(Object object) { if (!(object instanceof ActivityDefinition)) return false; ActivityDefinition castedObject = (ActivityDefinition) object; boolean equals = true; equals &= Util.equals(id, castedObject.id); equals &= Util.equals(name, castedObject.n... | 3,225,117 |
public IRubyObject getValue() { IRubyObject result = JavaUtil.convertJavaToRuby(runtime, bean.bean, bean.type); if (result instanceof JavaObject) { runtime.getLoadService().require("java"); result = runtime.getClasses().getObjectClass().getC... | public IRubyObject getValue() { IRubyObject result = JavaUtil.convertJavaToRuby(runtime, bean.bean, bean.type); if (result instanceof JavaObject) { runtime.getLoadService().require("java"); result = runtime.getClasses().getObjectClass().getC... | 3,225,118 |
public IRubyObject getValue() { IRubyObject result = JavaUtil.convertJavaToRuby(runtime, functions, BSFFunctions.class); if (result instanceof JavaObject) { runtime.getLoadService().require("java"); result = runtime.getClasses().getObjectCla... | public IRubyObject getValue() { IRubyObject result = JavaUtil.convertJavaToRuby(runtime, functions, BSFFunctions.class); if (result instanceof JavaObject) { runtime.getLoadService().require("java"); result = runtime.getClasses().getObjectCla... | 3,225,119 |
public Object call(Object recv, String method, Object[] args) throws BSFException { try { IRubyObject rubyRecv = recv != null ? JavaUtil.convertJavaToRuby(runtime, recv) : runtime.getTopSelf(); IRubyObject[] rubyArgs = JavaUtil.convertJavaArrayToRuby(runtime, args); // Create... | public Object call(Object recv, String method, Object[] args) throws BSFException { try { IRubyObject rubyRecv = recv != null ? JavaUtil.convertJavaToRuby(runtime, recv) : runtime.getTopSelf(); IRubyObject[] rubyArgs = JavaUtil.convertJavaArrayToRuby(runtime, args); // Create... | 3,225,120 |
private IRubyObject convertToRuby(Object value) { IRubyObject result = JavaUtil.convertJavaToRuby(runtime, value); if (result instanceof JavaObject) { runtime.getLoadService().require("java"); result = runtime.getClasses().getObjectClass().getConstant("JavaUtilitie... | private IRubyObject convertToRuby(Object value) { IRubyObject result = JavaUtil.convertJavaToRuby(runtime, value); if (result instanceof JavaObject) { runtime.getLoadService().require("java"); result = runtime.getClasses().getObjectClass().getConstant("JavaUtilitie... | 3,225,121 |
public static void createObjectClass(RubyModule kernelModule) { // TODO: convert to CallbackFactory invokes. Callback clone = new ReflectionCallbackMethod(RubyObject.class, "rbClone"); Callback dup = new ReflectionCallbackMethod(RubyObject.class, "dup"); Callback equal = new ReflectionCa... | public static void createObjectClass(RubyModule kernelModule) { // TODO: convert to CallbackFactory invokes. Callback clone = new ReflectionCallbackMethod(RubyObject.class, "rbClone"); Callback dup = new ReflectionCallbackMethod(RubyObject.class, "dup"); Callback equal = new ReflectionCa... | 3,225,122 |
public static void createObjectClass(RubyModule kernelModule) { // TODO: convert to CallbackFactory invokes. Callback clone = new ReflectionCallbackMethod(RubyObject.class, "rbClone"); Callback dup = new ReflectionCallbackMethod(RubyObject.class, "dup"); Callback equal = new ReflectionCa... | public static void createObjectClass(RubyModule kernelModule) { // TODO: convert to CallbackFactory invokes. Callback clone = new ReflectionCallbackMethod(RubyObject.class, "rbClone"); Callback dup = new ReflectionCallbackMethod(RubyObject.class, "dup"); Callback equal = new ReflectionCa... | 3,225,123 |
public static void createObjectClass(RubyModule kernelModule) { // TODO: convert to CallbackFactory invokes. Callback clone = new ReflectionCallbackMethod(RubyObject.class, "rbClone"); Callback dup = new ReflectionCallbackMethod(RubyObject.class, "dup"); Callback equal = new ReflectionCa... | public static void createObjectClass(RubyModule kernelModule) { // TODO: convert to CallbackFactory invokes. Callback clone = new ReflectionCallbackMethod(RubyObject.class, "rbClone"); Callback dup = new ReflectionCallbackMethod(RubyObject.class, "dup"); Callback equal = new ReflectionCa... | 3,225,124 |
public int hashCode() { return RubyNumeric.fix2int(funcall("hash")); } | public int hashCode() { long rubyHash = RubyNumeric.fix2long(funcall("hash")); int result = (int) rubyHash; result ^= (rubyHash >> 32); return result; } | 3,225,126 |
public RubyBoolean respond_to(RubySymbol sym) { //Look in cache CacheEntry ent = getRuby().getMethodCache().getEntry(getRubyClass(), sym.toId()); if (ent != null) { //Check to see if it's private and we're not including privates(return false) //otherwise return true ... | public RubyBoolean respond_to(RubyObject methodName) { String name; if (methodName instanceof RubySymbol) { name = ((RubySymbol) methodName).toId(); } else if (methodName instanceof RubyString) { name = ((RubyString) methodName).getValue(); } else { throw new ArgumentError(getRuby(), "not a symbol"); } //Lo... | 3,225,127 |
public RubyBoolean respond_to(RubySymbol sym) { //Look in cache CacheEntry ent = getRuby().getMethodCache().getEntry(getRubyClass(), sym.toId()); if (ent != null) { //Check to see if it's private and we're not including privates(return false) //otherwise return true ... | public RubyBoolean respond_to(RubySymbol sym) { //Look in cache CacheEntry ent = getRuby().getMethodCache().getEntry(getRubyClass(), name); if (ent != null) { //Check to see if it's private and we're not including privates(return false) //otherwise return true r... | 3,225,128 |
public RubyBoolean respond_to(RubySymbol sym) { //Look in cache CacheEntry ent = getRuby().getMethodCache().getEntry(getRubyClass(), sym.toId()); if (ent != null) { //Check to see if it's private and we're not including privates(return false) //otherwise return true ... | public RubyBoolean respond_to(RubySymbol sym) { //Look in cache CacheEntry ent = getRuby().getMethodCache().getEntry(getRubyClass(), sym.toId()); if (ent != null) { //Check to see if it's private and we're not including privates(return false) //otherwise return true ... | 3,225,129 |
public String getColumnText(Object element, int columnIndex) { if (element instanceof IWorkbenchPart) { IWorkbenchPart part = (IWorkbenchPart)element; String path = part.getTitleToolTip(); if (path.length() == 0) { return part.getTitle(); } else { return part.getTitle() + " [" + part.getTitleToolTip() + "]"; /... | public String getColumnText(Object element, int columnIndex) { if (element instanceof IWorkbenchPart) { IWorkbenchPart part = (IWorkbenchPart)element; String path = part.getTitleToolTip(); if (path.length() == 0) { return part.getTitle(); } else { return part.getTitle() + " [" + part.getTitleToolTip() + "]"; /... | 3,225,131 |
public String getColumnText(Object element, int columnIndex) { if (element instanceof IWorkbenchPart) { IWorkbenchPart part = (IWorkbenchPart)element; String path = part.getTitleToolTip(); if (path.length() == 0) { return part.getTitle(); } else { return part.getTitle() + " [" + part.getTitleToolTip() + "]"; /... | public String getColumnText(Object element, int columnIndex) { if (element instanceof IWorkbenchPart) { IWorkbenchPart part = (IWorkbenchPart)element; String path = part.getTitleToolTip(); if (path.length() == 0) { return part.getTitle(); } else { return title + " [" + path + "]"; //$NON-NLS-1$ //$NON-NLS-2$ ... | 3,225,132 |
public Object getContent(Context c) { return _sb.toString(); } | public Object getContent(Context c) { return _sb.toString(); } | 3,225,133 |
public void setDescription(String description) { if (((description == null) && (_description != null)) || ((description != null) && (_description == null)) || ((description != null) && (_description != null) && !description.equals(_description))) { if (!XSS_ALLOW_DESCRIPTION) { description = XSSUtil.str... | public void setDescription(String description) { if (((description == null) && (_description != null)) || ((description != null) && (_description == null)) || ((description != null) && (_description != null) && !description.equals(_description))) { if (!XSS_ALLOW_DESCRIPTION) { description = XSSUtil.str... | 3,225,134 |
public void setItemFieldId(String itemFieldId) { if (((itemFieldId == null) && (_itemFieldId != null)) || ((itemFieldId != null) && (_itemFieldId == null)) || ((itemFieldId != null) && (_itemFieldId != null) && !itemFieldId.equals(_itemFieldId))) { if (!XSS_ALLOW_ITEMFIELDID) { itemFieldId = XSSUtil.str... | public void setItemFieldId(String itemFieldId) { if (((itemFieldId == null) && (_itemFieldId != null)) || ((itemFieldId != null) && (_itemFieldId == null)) || ((itemFieldId != null) && (_itemFieldId != null) && !itemFieldId.equals(_itemFieldId))) { if (!XSS_ALLOW_ITEMFIELDID) { itemFieldId = XSSUtil.str... | 3,225,135 |
public void setItemId(String itemId) { if (((itemId == null) && (_itemId != null)) || ((itemId != null) && (_itemId == null)) || ((itemId != null) && (_itemId != null) && !itemId.equals(_itemId))) { if (!XSS_ALLOW_ITEMID) { itemId = XSSUtil.strip(itemId); } _itemId = itemId; setModified(true); } ... | public void setItemId(String itemId) { if (((itemId == null) && (_itemId != null)) || ((itemId != null) && (_itemId == null)) || ((itemId != null) && (_itemId != null) && !itemId.equals(_itemId))) { if (!XSS_ALLOW_ITEMID) { itemId = XSSUtil.strip(itemId); } _itemId = itemId; setModified(true); } ... | 3,225,136 |
public void setName(String name) { if (((name == null) && (_name != null)) || ((name != null) && (_name == null)) || ((name != null) && (_name != null) && !name.equals(_name))) { if (!XSS_ALLOW_NAME) { name = XSSUtil.strip(name); } _name = name; setModified(true); } } | public void setName(String name) { if (((name == null) && (_name != null)) || ((name != null) && (_name == null)) || ((name != null) && (_name != null) && !name.equals(_name))) { if (!XSS_ALLOW_NAME) { name = XSSUtil.strip(name); } _name = name; setModified(true); } } | 3,225,137 |
public void setValues(String values) { if (((values == null) && (_values != null)) || ((values != null) && (_values == null)) || ((values != null) && (_values != null) && !values.equals(_values))) { if (!XSS_ALLOW_VALUES) { values = XSSUtil.strip(values); } _values = values; setModified(true); } ... | public void setValues(String values) { if (((values == null) && (_values != null)) || ((values != null) && (_values == null)) || ((values != null) && (_values != null) && !values.equals(_values))) { if (!XSS_ALLOW_VALUES) { values = XSSUtil.strip(values); } _values = values; setModified(true); } ... | 3,225,138 |
void handleSetChange(IObservableSet source, SetDiff diff); | void handleSetChange(IObservableSet source, SetDiff diff); | 3,225,139 |
public static InlineBox generateFloatedBlockInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating ... | public static InlineBox generateFloatedBlockInlineBox(Context c, Content content, int avail, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating a new one. is th... | 3,225,140 |
public static InlineBox generateFloatedBlockInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating ... | public static InlineBox generateFloatedBlockInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating ... | 3,225,141 |
public static InlineBox generateFloatedBlockInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating ... | public static InlineBox generateFloatedBlockInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating ... | 3,225,142 |
public static InlineBox generateFloatedBlockInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating ... | public static InlineBox generateFloatedBlockInlineBox(Context c, Node node, int avail, InlineBox prev, String text, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating ... | 3,225,143 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | 3,225,144 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | 3,225,145 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | 3,225,146 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | 3,225,147 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | 3,225,148 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | 3,225,149 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo... | 3,225,150 |
private static void saveLine(LineBox line_to_save, LineBox prev_line, Rectangle bounds, LayoutContext c, Box block, int minHeight, List pushedOnFirstLine, List pendingFloats) { line_to_save.isFirstLine = c.isFirstLine(); c.setFirstLine(fa... | private static void saveLine(LineBox line_to_save, LineBox prev_line, Rectangle bounds, LayoutContext c, Box block, int minHeight, List pushedOnFirstLine, List pendingFloats) { line_to_save.isFirstLine = c.isFirstLine(); c.setFirstLine(fa... | 3,225,151 |
protected void makeActions() { Shell shell = navigator.getSite().getShell(); IWorkbench workbench = navigator.getSite().getWorkbenchWindow().getWorkbench(); addBookmarkAction = new AddBookmarkAction(shell); addTaskAction = new AddTaskAction(shell); newWizardAction = new NewWizardAction(); propertyDialogAction ... | protected void makeActions() { Shell shell = navigator.getSite().getShell(); IWorkbench workbench = navigator.getSite().getWorkbenchWindow().getWorkbench(); addBookmarkAction = new AddBookmarkAction(shell); addTaskAction = new AddTaskAction(shell); newWizardAction = new NewWizardAction(); propertyDialogAction ... | 3,225,152 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ... | 3,225,153 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 3,225,154 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 3,225,155 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 3,225,156 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 3,225,157 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 3,225,158 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 3,225,159 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 3,225,160 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 3,225,161 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 3,225,162 |
private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | private static Polygon getBevelledPolygon(final Rectangle bounds, final Border border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if (isClipRegi... | 3,225,163 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | 3,225,164 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.