bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,626 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,627 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,628 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,629 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,630 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,631 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,632 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,633 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,634 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,635 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,636 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | public void paintBackground(Context c, Box box) {Box block = box;// cache the background colorgetBackgroundColor(c, block);// get the css propertiesString back_image = c.css.getStringProperty(block.getElement(), "background-image", false);block.repeat = c.css.getStringProperty(block.getElement(), "background-repeat");b... | 49,637 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,638 |
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties String back_image = c.css.getStringProperty(block.getElement(), "background-image", false); block.repeat = c.css.getStrin... | publicvoidpaintBackground(Contextc,Boxbox){Boxblock=box;//cachethebackgroundcolorgetBackgroundColor(c,block);//getthecsspropertiesStringback_image=c.css.getStringProperty(block.getElement(),"background-image",false);block.repeat=c.css.getStringProperty(block.getElement(),"background-repeat");block.attachment=c.css.getS... | 49,639 |
public void paintBorder(Context c, Box box) { Box block = box; // get the border parts // paint the border BorderPainter bp = new BorderPainter(); // adjust to a fixed height, if necessary //if (!block.auto_height) { //bnds.y = block.height - block.margin.top - b... | publicvoidpaintBorder(Contextc,Boxbox){Boxblock=box;//gettheborderparts//painttheborderBorderPainterbp=newBorderPainter();//adjusttoafixedheight,ifnecessary//if(!block.auto_height){//bnds.y=block.height-block.margin.top-block.margin.bottom;//}bp.paint(c,block);} | 49,640 |
public void paintBorder(Context c, Box box) { Box block = box; // get the border parts // paint the border BorderPainter bp = new BorderPainter(); // adjust to a fixed height, if necessary //if (!block.auto_height) { //bnds.y = block.height - block.margin.top - b... | publicvoidpaintBorder(Contextc,Boxbox){Boxblock=box;//gettheborderparts//painttheborderBorderPainterbp=newBorderPainter();//adjusttoafixedheight,ifnecessary//if(!block.auto_height){//bnds.y=block.height-block.margin.top-block.margin.bottom;//}bp.paint(c,block);} | 49,641 |
public void paintBorder(Context c, Box box) { Box block = box; // get the border parts // paint the border BorderPainter bp = new BorderPainter(); // adjust to a fixed height, if necessary //if (!block.auto_height) { //bnds.y = block.height - block.margin.top - b... | public void paintBorder(Context c, Box box) {Box block = box;// get the border parts// paint the borderBorderPainter bp = new BorderPainter();// adjust to a fixed height, if necessary//if (!block.auto_height) {//bnds.y = block.height - block.margin.top - block.margin.bottom;//}bp.paint(c, block);} | 49,642 |
public void paintBorder(Context c, Box box) { Box block = box; // get the border parts // paint the border BorderPainter bp = new BorderPainter(); // adjust to a fixed height, if necessary //if (!block.auto_height) { //bnds.y = block.height - block.margin.top - b... | publicvoidpaintBorder(Contextc,Boxbox){Boxblock=box;//gettheborderparts//painttheborderBorderPainterbp=newBorderPainter();//adjusttoafixedheight,ifnecessary//if(!block.auto_height){//bnds.y=block.height-block.margin.top-block.margin.bottom;//}bp.paint(c,block);} | 49,643 |
public void paintBorder(Context c, Box box) { Box block = box; // get the border parts // paint the border BorderPainter bp = new BorderPainter(); // adjust to a fixed height, if necessary //if (!block.auto_height) { //bnds.y = block.height - block.margin.top - b... | public void paintBorder(Context c, Box box) {Box block = box;// get the border parts// paint the borderBorderPainter bp = new BorderPainter();// adjust to a fixed height, if necessary//if (!block.auto_height) {//bnds.y = block.height - block.margin.top - block.margin.bottom;//}bp.paint(c, block);} | 49,644 |
public void paintBorder(Context c, Box box) { Box block = box; // get the border parts // paint the border BorderPainter bp = new BorderPainter(); // adjust to a fixed height, if necessary //if (!block.auto_height) { //bnds.y = block.height - block.margin.top - b... | publicvoidpaintBorder(Contextc,Boxbox){Boxblock=box;//gettheborderparts//painttheborderBorderPainterbp=newBorderPainter();//adjusttoafixedheight,ifnecessary//if(!block.auto_height){//bnds.y=block.height-block.margin.top-block.margin.bottom;//}bp.paint(c,block);} | 49,645 |
public void paintBorder(Context c, Box box) { Box block = box; // get the border parts // paint the border BorderPainter bp = new BorderPainter(); // adjust to a fixed height, if necessary //if (!block.auto_height) { //bnds.y = block.height - block.margin.top - b... | publicvoidpaintBorder(Contextc,Boxbox){Boxblock=box;//gettheborderparts//painttheborderBorderPainterbp=newBorderPainter();//adjusttoafixedheight,ifnecessary//if(!block.auto_height){//bnds.y=block.height-block.margin.top-block.margin.bottom;//}bp.paint(c,block);} | 49,646 |
public void paintBorder(Context c, Box box) { Box block = box; // get the border parts // paint the border BorderPainter bp = new BorderPainter(); // adjust to a fixed height, if necessary //if (!block.auto_height) { //bnds.y = block.height - block.margin.top - b... | publicvoidpaintBorder(Contextc,Boxbox){Boxblock=box;//gettheborderparts//painttheborderBorderPainterbp=newBorderPainter();//adjusttoafixedheight,ifnecessary//if(!block.auto_height){//bnds.y=block.height-block.margin.top-block.margin.bottom;//}bp.paint(c,block);} | 49,647 |
public void paintBorder(Context c, Box box) { Box block = box; // get the border parts // paint the border BorderPainter bp = new BorderPainter(); // adjust to a fixed height, if necessary //if (!block.auto_height) { //bnds.y = block.height - block.margin.top - b... | public void paintBorder(Context c, Box box) {Box block = box;// get the border parts// paint the borderBorderPainter bp = new BorderPainter();// adjust to a fixed height, if necessary//if (!block.auto_height) {//bnds.y = block.height - block.margin.top - block.margin.bottom;//}bp.paint(c, block);} | 49,648 |
public void paintBorder(Context c, Box box) { Box block = box; // get the border parts // paint the border BorderPainter bp = new BorderPainter(); // adjust to a fixed height, if necessary //if (!block.auto_height) { //bnds.y = block.height - block.margin.top - b... | publicvoidpaintBorder(Contextc,Boxbox){Boxblock=box;//gettheborderparts//painttheborderBorderPainterbp=newBorderPainter();//adjusttoafixedheight,ifnecessary//if(!block.auto_height){//bnds.y=block.height-block.margin.top-block.margin.bottom;//}bp.paint(c,block);} | 49,649 |
public ClientBrowserDelegate(String objectID) { super(objectID); } | public ClientBrowserDelegate(int objectID) { super(objectID); } | 49,650 |
public String toString() { return "BrowserDelegate[" + Util.guidToString(id) + "]"; } | public String toString() { return "BrowserDelegate[" + id + "]"; } | 49,651 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | 49,652 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | 49,653 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | 49,654 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | 49,655 |
public CalculatedStyle getStyle() { return _style; } | public CascadedStyle getStyle() { return _style; } | 49,656 |
public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing for "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { backgroun... | 49,657 |
public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | 49,658 |
public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | 49,659 |
public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | 49,660 |
public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | 49,661 |
public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | 49,662 |
public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | 49,663 |
public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | 49,664 |
public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | public static String list(File file) { StringBuffer sb = new StringBuffer(); sb.append("<html>"); sb.append("<head>"); sb.append("<title>Directory listing of "); sb.append(file.getPath()); sb.append("</title>"); sb.append("<style>"); sb.append("ul { background... | 49,665 |
public void createComponents() throws Exception { xhtml = new XHTMLPanel(); Uu.p("url = " + getClass().getResource("main.xhtml")); xhtml.setDocument(getClass().getResource("main.xhtml")); filelistmodel = new FileListModel(); filelist = new JList(filelistmodel); } | public void createComponents() throws Exception { xhtml = new XHTMLPanel(); Uu.p("url = " + getClass().getResource("main.xhtml")); xhtml.setDocument(getClass().getResource("main.xhtml").toExternalForm()); filelistmodel = new FileListModel(); filelist = new JList(filelistmodel); ... | 49,667 |
protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | 49,668 |
protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | 49,669 |
protected synchronized void startService() throws Exception { if (started) { throw new IllegalStateException("Service is already started"); } super.startService(); try { TransactionManager tm = getTransactionManagerReference(); ServerPeer... | protected synchronized void startService() throws Exception { if (started) { throw new IllegalStateException("Service is already started"); } super.startService(); try { TransactionManager tm = getTransactionManagerReference(); ServerPeer... | 49,672 |
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, ... | 49,673 |
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, ... | 49,674 |
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... | 49,675 |
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, ... | 49,676 |
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, ... | 49,677 |
public void testCallbackFailure() throws Exception { if (!ServerManagement.isRemote()) return; //We need to disable exception listener otherwise it will clear up the connection itself ObjectName connectorName = localServer.getServerPeer().getConnector(); ConnectionManager cm =... | public void testCallbackFailure() throws Exception { if (!ServerManagement.isRemote()) return; //We need to disable exception listener otherwise it will clear up the connection itself ObjectName connectorName = localServer.getServerPeer().getConnector(); ConnectionManager cm =... | 49,678 |
public void testCallbackFailure() throws Exception { if (!ServerManagement.isRemote()) return; //We need to disable exception listener otherwise it will clear up the connection itself ObjectName connectorName = localServer.getServerPeer().getConnector(); ConnectionManager cm =... | public void testCallbackFailure() throws Exception { if (!ServerManagement.isRemote()) return; //We need to disable exception listener otherwise it will clear up the connection itself ObjectName connectorName = localServer.getServerPeer().getConnector(); ConnectionManager cm =... | 49,679 |
public void clearBody() throws JMSException { //this.messageWritable = true; //this.bodyWritable = true; } | this.payload = null; this.bodyReadOnly = false; public void clearBody() throws JMSExceptionthis.payload = null; this.bodyReadOnly = false; {this.payload = null; this.bodyReadOnly = false; this.payload = null; this.bodyReadOnly = false; this.payload = null; this.bodyReadOnly = false; //this.messageWritable = true;this... | 49,680 |
public void clearProperties() throws JMSException { properties.clear(); propertiesWritable = true; } | public void clearProperties() throws JMSException { properties.clear(); propertiesReadOnly = false; } | 49,681 |
public String getJMSCorrelationID() throws JMSException { if (isCorrelationIDBytes) { throw new JMSException("CorrelationID is a byte[] for this message"); } return correlationID; } | public String getJMSCorrelationID() throws JMSException { if (this.correlationIDBytes != null) { throw new JMSException("CorrelationID is a byte[] for this message"); } return correlationID; } | 49,682 |
public byte[] getJMSCorrelationIDAsBytes() throws JMSException { if (!isCorrelationIDBytes) { throw new JMSException("CorrelationID is a String for this message"); } return correlationIDBytes; } | public byte[] getJMSCorrelationIDAsBytes() throws JMSException { if (this.correlationIDBytes == null) { throw new JMSException("CorrelationID is a String for this message"); } return correlationIDBytes; } | 49,683 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); propertiesWritable = in.readBoolean(); properties = ... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); propertiesWritable = in.readBoolean(); properties = ... | 49,684 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); propertiesWritable = in.readBoolean(); properties = ... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); propertiesWritable = in.readBoolean(); properties = ... | 49,685 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); propertiesWritable = in.readBoolean(); properties = ... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); propertiesWritable = in.readBoolean(); properties = ... | 49,686 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); propertiesWritable = in.readBoolean(); properties = ... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); jmsType = readString(in); propertiesWritable = in.readBoolean(); properties = ... | 49,687 |
public void setBooleanProperty(String name, boolean value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Boolean b = Primitives.valueOf(value); checkProperty(name, b); properties.put(name, b); } | public void setBooleanProperty(String name, boolean value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); Boolean b = Primitives.valueOf(value); checkProperty(name, b); properties.put(name, b); } | 49,689 |
public void setByteProperty(String name, byte value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Byte b = new Byte(value); checkProperty(name, b); properties.put(name, b); } | public void setByteProperty(String name, byte value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); Byte b = new Byte(value); checkProperty(name, b); properties.put(name, b); } | 49,690 |
public void setDoubleProperty(String name, double value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Double d = new Double(value); checkProperty(name, d); properties.put(name, d); } | public void setDoubleProperty(String name, double value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); Double d = new Double(value); checkProperty(name, d); properties.put(name, d); } | 49,691 |
public void setFloatProperty(String name, float value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Float f = new Float(value); checkProperty(name, f); properties.put(name, f); } | public void setFloatProperty(String name, float value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); Float f = new Float(value); checkProperty(name, f); properties.put(name, f); } | 49,692 |
public void setIntProperty(String name, int value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Integer i = new Integer(value); checkProperty(name, i); properties.put(name, i); } | public void setIntProperty(String name, int value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); Integer i = new Integer(value); checkProperty(name, i); properties.put(name, i); } | 49,693 |
public void setJMSCorrelationID(String correlationID) throws JMSException { this.correlationID = correlationID; isCorrelationIDBytes = false; } | public void setJMSCorrelationID(String correlationID) throws JMSException { this.correlationID = correlationID; correlationIDBytes = null; } | 49,694 |
public void setJMSCorrelationIDAsBytes(byte[] correlationID) throws JMSException { if (correlationID == null || correlationID.length == 0) { throw new JMSException("Please specify a non-zero length byte[]"); } correlationIDBytes = correlationID; isCorrelationIDBytes = true; } | public void setJMSCorrelationIDAsBytes(byte[] correlationID) throws JMSException { if (correlationID == null || correlationID.length == 0) { throw new JMSException("Please specify a non-zero length byte[]"); } correlationIDBytes = correlationID; correlationID = null; } | 49,695 |
public void setLongProperty(String name, long value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Long l = new Long(value); checkProperty(name, l); properties.put(name, l); } | public void setLongProperty(String name, long value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); Long l = new Long(value); checkProperty(name, l); properties.put(name, l); } | 49,696 |
public void setObjectProperty(String name, Object value) throws JMSException { if (!propertiesWritable) { throw new MessageNotWriteableException("Properties are read-only"); } checkProperty(name, value); if (value instanceof Boolean) { properties.put(name, value); ... | public void setObjectProperty(String name, Object value) throws JMSException { if (propertiesReadOnly) { throw new MessageNotWriteableException("Properties are read-only"); } checkProperty(name, value); if (value instanceof Boolean) { properties.put(name, value); ... | 49,697 |
public void setShortProperty(String name, short value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Short s = new Short(value); checkProperty(name, s); properties.put(name, s); } | public void setShortProperty(String name, short value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); Short s = new Short(value); checkProperty(name, s); properties.put(name, s); } | 49,698 |
public void setStringProperty(String name, String value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); checkProperty(name, value); this.properties.put(name, value); } | public void setStringProperty(String name, String value) throws JMSException { if (propertiesReadOnly) throw new MessageNotWriteableException("Properties are read-only"); checkProperty(name, value); this.properties.put(name, value); } | 49,699 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); out.writeBoolean(propertiesWritable); writeMap(out, properties); out.writeBoolean(isCorre... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); writeMap(out, properties); out.writeBoolean(isCorrelationIDBytes); if (isCorrelationI... | 49,700 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); out.writeBoolean(propertiesWritable); writeMap(out, properties); out.writeBoolean(isCorre... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); out.writeBoolean(propertiesWritable); writeMap(out, properties); out.writeBoolean(isCorre... | 49,701 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); out.writeBoolean(propertiesWritable); writeMap(out, properties); out.writeBoolean(isCorre... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); out.writeBoolean(propertiesWritable); writeMap(out, properties); out.writeBoolean(isCorre... | 49,702 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); out.writeBoolean(propertiesWritable); writeMap(out, properties); out.writeBoolean(isCorre... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, jmsType); out.writeBoolean(propertiesWritable); writeMap(out, properties); out.writeBoolean(isCorre... | 49,703 |
public Object handleCommit(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); if (!state.isTransacted()) { throw new IllegalStateException("Cannot commit a non-transacted session"); } if (state.isXA()) { throw... | public Object handleCommit(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); if (!state.isTransacted()) { throw new IllegalStateException("Cannot commit a non-transacted session"); } if (state.isXA()) { throw... | 49,705 |
public Object handleCommit(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); if (!state.isTransacted()) { throw new IllegalStateException("Cannot commit a non-transacted session"); } if (state.isXA()) { throw... | public Object handleCommit(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); if (!state.isTransacted()) { throw new IllegalStateException("Cannot commit a non-transacted session"); } if (state.isXA()) { throw... | 49,706 |
public Object handlePreDeliver(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); if (state.isTransacted()) { MethodInvocation mi = (MethodInvocation)invocation; String messageID = (String)mi.getArguments()[0]; ... | public Object handlePreDeliver(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); if (state.isTransacted()) { MethodInvocation mi = (MethodInvocation)invocation; String messageID = (String)mi.getArguments()[0]; ... | 49,707 |
public Object handleRollback(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); SessionDelegate sessDelegate = (SessionDelegate)state.getDelegate(); if (!state.isTransacted()) { throw new IllegalStateException("Cannot ... | public Object handleRollback(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); if (!state.isTransacted()) { throw new IllegalStateException("Cannot rollback a non-transacted session"); } if (state.isXA(... | 49,708 |
public Object handleRollback(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); SessionDelegate sessDelegate = (SessionDelegate)state.getDelegate(); if (!state.isTransacted()) { throw new IllegalStateException("Cannot ... | public Object handleRollback(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); SessionDelegate sessDelegate = (SessionDelegate)state.getDelegate(); if (!state.isTransacted()) { throw new IllegalStateException("Cannot ... | 49,709 |
public Object handleRollback(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); SessionDelegate sessDelegate = (SessionDelegate)state.getDelegate(); if (!state.isTransacted()) { throw new IllegalStateException("Cannot ... | public Object handleRollback(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); SessionDelegate sessDelegate = (SessionDelegate)state.getDelegate(); if (!state.isTransacted()) { throw new IllegalStateException("Cannot ... | 49,710 |
public Object handleRollback(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); SessionDelegate sessDelegate = (SessionDelegate)state.getDelegate(); if (!state.isTransacted()) { throw new IllegalStateException("Cannot ... | public Object handleRollback(Invocation invocation) throws Throwable { SessionState state = (SessionState)getState(invocation); SessionDelegate sessDelegate = (SessionDelegate)state.getDelegate(); if (!state.isTransacted()) { throw new IllegalStateException("Cannot ... | 49,711 |
public Object handleSend(Invocation invocation) throws Throwable { ProducerState state = (ProducerState)getState(invocation); SessionState sessState = (SessionState)state.getParent(); if (sessState.isTransacted()) { //Session is transacted - so we add messa... | public Object handleSend(Invocation invocation) throws Throwable { ProducerState state = (ProducerState)getState(invocation); SessionState sessState = (SessionState)state.getParent(); if (sessState.isTransacted()) { //Session is transacted - so we add messa... | 49,712 |
public boolean selfTest() { if (valid == null) { valid = new Boolean(DIGEST0.equals(Util.toString(new Haval().digest()))); } return valid.booleanValue(); } | public boolean selfTest() { if (valid == null) { valid = Boolean.valueOf(DIGEST0.equals(Util.toString(new Haval().digest()))); } return valid.booleanValue(); } | 49,713 |
public CreateConnectionResult(ConnectionDelegate del) { this.delegate = del; } | public CreateConnectionResult(ConnectionDelegate delegate) { this.delegate = del; } | 49,714 |
public CreateConnectionResult(ConnectionDelegate del) { this.delegate = del; } | public CreateConnectionResult(ConnectionDelegate del) { this(delegate, Integer.MIN_VALUE); } | 49,715 |
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } String clientID = connectio... | public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } String clientID = connectionEndpoint.getClientID(); // this method has... | 49,716 |
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } String clientID = connectio... | public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } String clientID = connectio... | 49,717 |
private ResourceManager() { } | public ResourceManager(ConnectionDelegate connection) { } | 49,718 |
public void addAck(Object Xid, Object ack) { LocalTx tx = getTx(Xid); tx.addAck(ack); } | public void addAck(Object Xid, AckInfo ackInfo) { LocalTx tx = getTx(Xid); tx.addAck(ack); } | 49,720 |
public void addAck(Object Xid, Object ack) { LocalTx tx = getTx(Xid); tx.addAck(ack); } | public void addAck(Object Xid, Object ack) { LocalTx tx = getTx(Xid); tx.addAck(ack); } | 49,721 |
public void addMessage(Object Xid, Message m) { LocalTx tx = getTx(Xid); tx.addMessage(m); } | public void addMessage(Object Xid, Message m) { TxInfo tx = getTx(Xid); tx.addMessage(m); } | 49,722 |
public Object commit(Object Xid, SessionDelegate sd) throws JMSException { log.debug("Committing tx: " + Xid); LocalTx tx = getTx(Xid); if (tx.getMessages().size() > 0 || tx.getAcks().size() > 0) { log.debug("There is stuff to send"); sd.sendTransaction(tx); } transact... | public Object commit(Object Xid) throws JMSException { log.debug("Committing tx: " + Xid); LocalTx tx = getTx(Xid); if (tx.getMessages().size() > 0 || tx.getAcks().size() > 0) { log.debug("There is stuff to send"); sd.sendTransaction(tx); } transactions.remove(Xid); ... | 49,723 |
public Object commit(Object Xid, SessionDelegate sd) throws JMSException { log.debug("Committing tx: " + Xid); LocalTx tx = getTx(Xid); if (tx.getMessages().size() > 0 || tx.getAcks().size() > 0) { log.debug("There is stuff to send"); sd.sendTransaction(tx); } transact... | public Object commit(Object Xid, SessionDelegate sd) throws JMSException { log.debug("Committing tx: " + Xid); LocalTx tx = getTx(Xid); if (tx.getMessages().size() > 0 || tx.getAcks().size() > 0) { log.debug("There is stuff to send"); sd.sendTransaction(tx); } transact... | 49,724 |
public Object createLocalTx() { LocalTx tx = new LocalTx(getNextTxId()); transactions.put(tx.getId(), tx); return tx.getId(); } | public Object createLocalTx() { TxInfo tx = new TxInfo(getNextTxId()); transactions.put(tx.getId(), tx); return tx.getId(); } | 49,725 |
private LocalTx getTx(Object Xid) { LocalTx tx = (LocalTx) transactions.get(Xid); if (tx == null) throw new IllegalArgumentException("No such Xid:" + Xid); return tx; } | private TxInfo getTx(Object Xid) { LocalTx tx = (LocalTx) transactions.get(Xid); if (tx == null) throw new IllegalArgumentException("No such Xid:" + Xid); return tx; } | 49,726 |
private LocalTx getTx(Object Xid) { LocalTx tx = (LocalTx) transactions.get(Xid); if (tx == null) throw new IllegalArgumentException("No such Xid:" + Xid); return tx; } | private LocalTx getTx(Object Xid) { TxInfo tx = (TxInfo) transactions.get(Xid); if (tx == null) throw new IllegalArgumentException("No such Xid:" + Xid); return tx; } | 49,727 |
public Object rollback(Object Xid) { log.debug("Rolling back tx: " + Xid); LocalTx tx = getTx(Xid); transactions.remove(Xid); return createLocalTx(); } | public Object rollback(Object Xid) { log.debug("Rolling back tx: " + Xid); TxInfo tx = getTx(Xid); transactions.remove(Xid); return createLocalTx(); } | 49,728 |
protected Message createMessage(int i) throws Exception { Map headers = generateFilledMap(true); Message m = new CoreMessage(new GUID().toString(), true, System.currentTimeMillis() + 1000 * 60 * 60, System.currentTimeMillis(), i, header... | protected Message createMessage(byte i) throws Exception { Map headers = generateFilledMap(true); Message m = new CoreMessage(new GUID().toString(), true, System.currentTimeMillis() + 1000 * 60 * 60, System.currentTimeMillis(), i, heade... | 49,729 |
protected Message[] createMessages() throws Exception { //Generate some messages with a good range of attribute values Message[] messages = new Message[10]; for (int i = 0; i < 10; i++) { messages[i] = createMessage(i); } return messages; } | protected Message[] createMessages() throws Exception { //Generate some messages with a good range of attribute values Message[] messages = new Message[10]; for (int i = 0; i < 10; i++) { messages[i] = createMessage((byte)i); } return messages; } | 49,730 |
protected void nonXARecovery(boolean guid, boolean storeXid) throws Exception { JDBCTransactionLog tl = new JDBCTransactionLog(sc.getDataSource(), sc.getTransactionManager()); tl.setTxIdGuid(guid); Properties props; if (guid) { props = getConfigTablesForGUID(); tl.set... | protected void nonXARecovery(boolean guid, boolean storeXid) throws Exception { JDBCTransactionLog tl = new JDBCTransactionLog(sc.getDataSource(), sc.getTransactionManager()); tl.setTxIdGuid(guid); Properties props; if (guid) { props = getConfigTablesForGUID(); tl.set... | 49,731 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.