bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Dimension getPreferredScrollableViewportSize() { return preferredScrollableViewportSize; }
public Dimension getPreferredScrollableViewportSize() { return preferredViewportSize; }
10,065
protected void initializeLocalVars() { this.autoCreateColumnsFromModel = false; if (columnModel == null) { this.autoCreateColumnsFromModel = true; createColumnsFromModel(); } this.columnModel.addColumnModelListener(this); this.defaultRenderersByColumnClass = new Hashtable(); ...
protected void initializeLocalVars() { this.autoCreateColumnsFromModel = false; if (columnModel == null) { this.autoCreateColumnsFromModel = true; createColumnsFromModel(); } this.columnModel.addColumnModelListener(this); this.defaultRenderersByColumnClass = new Hashtable(); ...
10,066
public void setPreferredScrollableViewportSize(Dimension p) { preferredScrollableViewportSize = p; revalidate(); repaint(); }
public void setPreferredScrollableViewportSize(Dimension p) { preferredViewportSize = p; revalidate(); repaint(); }
10,067
public void change(int offset, int length, DefaultDocumentEvent ev) { this.offset = offset; this.length = length; changeUpdate(); }
public void change(int offset, int length, DefaultDocumentEvent ev) { this.offset = offset; this.length = length; changeUpdate(); }
10,068
void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element...
void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element...
10,069
public Element getParagraphElement(int position) { Element element = getCharacterElement(position); return element.getParentElement(); }
public Element getParagraphElement(int position) { Element element = getCharacterElement(position); return element.getParentElement(); }
10,070
public int getFreeBlocksCount() { return Ext2Utils.get16(data, 12); }
public int getFreeBlocksCount() { return Ext2Utils.get16(data, 12); }
10,072
public int getFreeInodesCount() { return Ext2Utils.get16(data, 14); }
public int getFreeInodesCount() { return Ext2Utils.get16(data, 14); }
10,073
public int getUsedDirsCount() { return Ext2Utils.get16(data, 16); }
public int getUsedDirsCount() { return Ext2Utils.get16(data, 16); }
10,074
public void setFreeBlocksCount(int count) { Ext2Utils.set16(data, 12, count); setDirty(true); }
public void setFreeBlocksCount(int count) { Ext2Utils.set16(data, 12, count); setDirty(true); }
10,075
public void setFreeInodesCount(int count) { Ext2Utils.set16(data, 14, count); setDirty(true); }
public void setFreeInodesCount(int count) { Ext2Utils.set16(data, 14, count); setDirty(true); }
10,076
public void setUsedDirsCount(int count) { Ext2Utils.set16(data, 16, count); setDirty(true); }
public void setUsedDirsCount(int count) { Ext2Utils.set16(data, 16, count); setDirty(true); }
10,077
public Ext2FileSystem(Device device, boolean readOnly) throws FileSystemException { super(device, readOnly); blockCache = new BlockCache(50,(float)0.75); inodeCache = new INodeCache(50,(float)0.75); groupDescriptorLock = new Object(); superblockLock = new Object(); }
public Ext2FileSystem(Device device, boolean readOnly) throws FileSystemException { super(device, readOnly); blockCache = new BlockCache(50,(float)0.75); inodeCache = new INodeCache(50,(float)0.75); groupDescriptorLock = new Object(); superblockLock = new Object(); }
10,078
public void create(int blockSize) throws FileSystemException { try{ //create the superblock superblock = new Superblock(); superblock.create(blockSize, this); //create the group descriptors groupCount = (int)Math.ceil((double)superblock.getBlocksCount() / (double)superblock.getBlocksPerGroup()); groupD...
publicvoidcreate(intblockSize)throwsFileSystemException{ try{ //createthesuperblock superblock=newSuperblock(); superblock.create(blockSize,this); //createthegroupdescriptors groupCount=(int)Math.ceil((double)superblock.getBlocksCount()/(double)superblock.getBlocksPerGroup()); groupDescriptors=newGroup...
10,079
protected INode createINode(int preferredBlockBroup, int fileFormat, int accessRights, int uid, int gid) throws FileSystemException, IOException { if(preferredBlockBroup >= superblock.getBlocksCount()) throw new FileSystemException("Block group "+preferredBlockBroup+"does not exist"); int groupNr = preferre...
protected INode createINode(int preferredBlockBroup, int fileFormat, int accessRights, int uid, int gid) throws FileSystemException, IOException { if(preferredBlockBroup >= superblock.getBlocksCount()) throw new FileSystemException("Block group "+preferredBlockBroup+"does not exist"); int groupNr = preferre...
10,080
public byte[] getBlock(long nr) throws IOException{ if(isClosed()) throw new IOException("FS closed (fs instance: "+this+")"); //log.debug("blockCache size: "+blockCache.size()); int blockSize = superblock.getBlockSize(); Block result; Integer key=new Integer((int)(nr)); synchronized(blockCache) { //chec...
public byte[] getBlock(long nr) throws IOException{ if(isClosed()) throw new IOException("FS closed (fs instance: "+this+")"); //log.debug("blockCache size: "+blockCache.size()); int blockSize = superblock.getBlockSize(); Block result; Integer key=new Integer((int)(nr)); synchronized(blockCache) { //chec...
10,081
protected void modifyFreeBlocksCount(int group, int diff) { GroupDescriptor gdesc = groupDescriptors[group]; synchronized(gdesc) { gdesc.setFreeBlocksCount( gdesc.getFreeBlocksCount()+diff ); } synchronized(superblock) { superblock.setFreeBlocksCount( superblock.getFreeBlocksCount()+diff ); } }
protected void modifyFreeBlocksCount(int group, int diff) { GroupDescriptor gdesc = groupDescriptors[group]; synchronized(gdesc) { gdesc.setFreeBlocksCount( gdesc.getFreeBlocksCount()+diff ); } synchronized(superblock) { superblock.setFreeBlocksCount( superblock.getFreeBlocksCount()+diff ); } }
10,082
protected void modifyFreeBlocksCount(int group, int diff) { GroupDescriptor gdesc = groupDescriptors[group]; synchronized(gdesc) { gdesc.setFreeBlocksCount( gdesc.getFreeBlocksCount()+diff ); } synchronized(superblock) { superblock.setFreeBlocksCount( superblock.getFreeBlocksCount()+diff ); } }
protected void modifyFreeBlocksCount(int group, int diff) { GroupDescriptor gdesc = groupDescriptors[group]; synchronized(gdesc) { gdesc.setFreeBlocksCount( gdesc.getFreeBlocksCount()+diff ); } synchronized(superblock) { superblock.setFreeBlocksCount( superblock.getFreeBlocksCount()+diff ); } }
10,083
protected void modifyFreeInodesCount(int group, int diff) { GroupDescriptor gdesc = groupDescriptors[group]; synchronized(gdesc) { gdesc.setFreeInodesCount( gdesc.getFreeInodesCount()+diff ); } synchronized(superblock) { superblock.setFreeInodesCount( superblock.getFreeInodesCount()+diff ); } }
protected void modifyFreeInodesCount(int group, int diff) { GroupDescriptor gdesc = groupDescriptors[group]; synchronized(gdesc) { gdesc.setFreeInodesCount( gdesc.getFreeInodesCount()+diff ); } synchronized(superblock) { superblock.setFreeInodesCount( superblock.getFreeInodesCount()+diff ); } }
10,084
protected void modifyUsedDirsCount(int group, int diff) { GroupDescriptor gdesc = groupDescriptors[group]; synchronized(gdesc) { gdesc.setUsedDirsCount( gdesc.getUsedDirsCount()+diff ); } }
protected void modifyUsedDirsCount(int group, int diff) { GroupDescriptor gdesc = groupDescriptors[group]; synchronized(gdesc) { gdesc.setUsedDirsCount( gdesc.getUsedDirsCount()+diff ); } }
10,085
protected void updateFS() throws IOException { //updating one group descriptor updates all its copies for(int i=0; i<groupCount; i++) groupDescriptors[i].updateGroupDescriptors(); superblock.update(); }
protected void updateFS() throws IOException { //updating one group descriptor updates all its copies for(int i=0; i<groupCount; i++) groupDescriptors[i].updateGroupDescriptors(); superblock.update(); }
10,086
RETokenOneOf(int subIndex, Vector options, boolean negative) { super(subIndex); this.options = options; this.negative = negative; }
RETokenOneOf(int subIndex, String optionsStr, boolean negative, boolean insens) { super(subIndex); this.options = options; this.negative = negative; }
10,087
RETokenOneOf(int subIndex, Vector options, boolean negative) { super(subIndex); this.options = options; this.negative = negative; }
RETokenOneOf(int subIndex, Vector options, boolean negative) { super(subIndex); options = new Vector(); this.negative = negative; }
10,088
public static void main (String [] args) throws SetDataException, IOException { XDF xdf = new XDF(); Structure structure = new Structure(); Array array = new Array(); FieldAxis fieldAxis = new FieldAxis(); fieldAxis.setName("Column"); fieldAxis.setAxisId("column_id"); Axis axis = new Axis(ROW); axis.setName("r...
public static void main (String [] args) throws SetDataException, IOException { XDF xdf = new XDF(); Structure structure = new Structure(); Array array = new Array(); FieldAxis fieldAxis = new FieldAxis(); fieldAxis.setName("Column"); fieldAxis.setAxisId("column_id"); Axis axis = new Axis(ROW); axis.setName("r...
10,090
public static void main (String [] args) throws SetDataException, IOException { XDF xdf = new XDF(); Structure structure = new Structure(); Array array = new Array(); FieldAxis fieldAxis = new FieldAxis(); fieldAxis.setName("Column"); fieldAxis.setAxisId("column_id"); Axis axis = new Axis(ROW); axis.setName("r...
public static void main (String [] args) throws SetDataException, IOException { XDF xdf = new XDF(); Structure structure = new Structure(); Array array = new Array(); FieldAxis fieldAxis = new FieldAxis(); fieldAxis.setName("Column"); fieldAxis.setAxisId("column_id"); Axis axis = new Axis(ROW); axis.setName("r...
10,091
public static void main (String [] args) throws SetDataException, IOException { XDF xdf = new XDF(); Structure structure = new Structure(); Array array = new Array(); FieldAxis fieldAxis = new FieldAxis(); fieldAxis.setName("Column"); fieldAxis.setAxisId("column_id"); Axis axis = new Axis(ROW); axis.setName("r...
public static void main (String [] args) throws SetDataException, IOException { XDF xdf = new XDF(); Structure structure = new Structure(); Array array = new Array(); FieldAxis fieldAxis = new FieldAxis(); fieldAxis.setName("Column"); fieldAxis.setAxisId("column_id"); Axis axis = new Axis(ROW); axis.setName("r...
10,092
public static void main (String [] args) throws SetDataException, IOException { XDF xdf = new XDF(); Structure structure = new Structure(); Array array = new Array(); FieldAxis fieldAxis = new FieldAxis(); fieldAxis.setName("Column"); fieldAxis.setAxisId("column_id"); Axis axis = new Axis(ROW); axis.setName("r...
public static void main (String [] args) throws SetDataException, IOException { XDF xdf = new XDF(); Structure structure = new Structure(); Array array = new Array(); FieldAxis fieldAxis = new FieldAxis(); fieldAxis.setName("Column"); fieldAxis.setAxisId("column_id"); Axis axis = new Axis(ROW); axis.setName("r...
10,093
public static void main(String[] args) throws Exception { CpCommand cpCommand = new CpCommand(args); int nbCopyedFile = cpCommand.copy(); System.out.println(nbCopyedFile + " file(s) copyed"); }
public static void main(String[] args) throws Exception { CpCommand cpCommand = new CpCommand(args); int nbCopyedFile = cpCommand.copy(); System.out.println(nbCopyedFile + " file(s) copied"); }
10,094
private void checkProperties(Properties props) { if (props == null) { return; } Enumeration names = props.propertyNames(); java.lang.Object key; String sk; while (names.hasMoreElements()) { key = names.nextElement(); if (key != null) { sk = key.t...
private void checkProperties(Properties props) { if (props == null) { return; } Enumeration names = props.propertyNames(); java.lang.Object key; String sk; while (names.hasMoreElements()) { key = names.nextElement(); if (key != null) { sk = key.t...
10,095
public static void setBold(MutableAttributeSet a, boolean b) { a.addAttribute(Bold, new Boolean(b)); }
public static void setBold(MutableAttributeSet a, boolean b) { a.addAttribute(Bold, Boolean.valueOf(b)); }
10,096
public static void setItalic(MutableAttributeSet a, boolean b) { a.addAttribute(Italic, new Boolean(b)); }
public static void setItalic(MutableAttributeSet a, boolean b) { a.addAttribute(Italic, Boolean.valueOf(b)); }
10,097
public static void setStrikeThrough(MutableAttributeSet a, boolean b) { a.addAttribute(StrikeThrough, new Boolean(b)); }
public static void setStrikeThrough(MutableAttributeSet a, boolean b) { a.addAttribute(StrikeThrough, Boolean.valueOf(b)); }
10,098
public static void setSubscript(MutableAttributeSet a, boolean b) { a.addAttribute(Subscript, new Boolean(b)); }
public static void setSubscript(MutableAttributeSet a, boolean b) { a.addAttribute(Subscript, Boolean.valueOf(b)); }
10,099
public static void setSuperscript(MutableAttributeSet a, boolean b) { a.addAttribute(Superscript, new Boolean(b)); }
public static void setSuperscript(MutableAttributeSet a, boolean b) { a.addAttribute(Superscript, Boolean.valueOf(b)); }
10,100
public static void setUnderline(MutableAttributeSet a, boolean b) { a.addAttribute(Underline, new Boolean(b)); }
public static void setUnderline(MutableAttributeSet a, boolean b) { a.addAttribute(Underline, Boolean.valueOf(b)); }
10,101
void appear() { // All machinery is only required if the carret is blinking. if (blinkListener != null) { blinkListener.ignoreNextEvent = true; // If the caret is visible, erase the current position by repainting // over. if (visible) repaint(); // Draw the care...
void appear() { // All machinery is only required if the carret is blinking. if (blinkListener != null) { blinkListener.ignoreNextEvent = true; // If the caret is visible, erase the current position by repainting // over. if (visible) repaint(); // Draw the care...
10,103
public void install(JTextComponent c) { textComponent = c; textComponent.addFocusListener(this); textComponent.addMouseListener(this); textComponent.addMouseMotionListener(this); propertyChangeListener = new PropertyChangeHandler(); textComponent.addPropertyChangeListener(propertyChangeListener); ...
public void install(JTextComponent c) { textComponent = c; textComponent.addFocusListener(this); textComponent.addMouseListener(this); textComponent.addMouseMotionListener(this); propertyChangeListener = new PropertyChangeHandler(); textComponent.addPropertyChangeListener(propertyChangeListener); ...
10,104
public void mousePressed(MouseEvent event) { int button = event.getButton(); // The implementation assumes that consuming the event makes the AWT event // mechanism forget about this event instance and not transfer focus. // By observing how the RI reacts the following behavior has been // impleme...
public void mousePressed(MouseEvent event) { // The implementation assumes that consuming the event makes the AWT event // mechanism forget about this event instance and not transfer focus. // By observing how the RI reacts the following behavior has been // implemented (in regard to text componen...
10,105
public void mousePressed(MouseEvent event) { int button = event.getButton(); // The implementation assumes that consuming the event makes the AWT event // mechanism forget about this event instance and not transfer focus. // By observing how the RI reacts the following behavior has been // impleme...
public void mousePressed(MouseEvent event) { int button = event.getButton(); // The implementation assumes that consuming the event makes the AWT event // mechanism forget about this event instance and not transfer focus. // By observing how the RI reacts the following behavior has been // impleme...
10,106
public void mousePressed(MouseEvent event) { int button = event.getButton(); // The implementation assumes that consuming the event makes the AWT event // mechanism forget about this event instance and not transfer focus. // By observing how the RI reacts the following behavior has been // impleme...
public void mousePressed(MouseEvent event) { int button = event.getButton(); // The implementation assumes that consuming the event makes the AWT event // mechanism forget about this event instance and not transfer focus. // By observing how the RI reacts the following behavior has been // impleme...
10,107
public void mousePressed(MouseEvent event) { int button = event.getButton(); // The implementation assumes that consuming the event makes the AWT event // mechanism forget about this event instance and not transfer focus. // By observing how the RI reacts the following behavior has been // impleme...
public void mousePressed(MouseEvent event) { int button = event.getButton(); // The implementation assumes that consuming the event makes the AWT event // mechanism forget about this event instance and not transfer focus. // By observing how the RI reacts the following behavior has been // impleme...
10,108
public void paint(Graphics g) { JTextComponent comp = getComponent(); if (comp == null) return; // Make sure the dot has a sane position. dot = Math.min(dot, textComponent.getDocument().getLength()); dot = Math.max(dot, 0); Rectangle rect = null; try { rect = textComponent.modelToView(...
public void paint(Graphics g) { JTextComponent comp = getComponent(); if (comp == null) return; // Make sure the dot has a sane position. dot = Math.min(dot, textComponent.getDocument().getLength()); dot = Math.max(dot, 0); Rectangle rect = null; try { rect = textComponent.modelToView(...
10,109
public AccessibleContext getAccessibleContext() { return null; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJDialog(); return accessibleContext; }
10,110
protected EditorKit createDefaultEditorKit() { return null; // TODO } // createDefaultEditorKit()
protected EditorKit createDefaultEditorKit() { return super.createDefaultEditorKit(); // TODO } // createDefaultEditorKit()
10,111
protected String paramString() { return null; // TODO } // paramString()
protected String paramString() { return super.paramString(); // TODO } // paramString()
10,112
public void replaceSelection(String content) { // TODO } // replaceSelection()
publicsuper.replaceSelection(content); voidsuper.replaceSelection(content); replaceSelection(Stringsuper.replaceSelection(content); content)super.replaceSelection(content); { //super.replaceSelection(content); TODO }super.replaceSelection(content); //super.replaceSelection(content); replaceSelection()
10,113
public void setDocument(Document document) { // TODO } // setDocument()
publicsuper.setDocument(document); voidsuper.setDocument(document); setDocument(Documentsuper.setDocument(document); document)super.setDocument(document); { //super.setDocument(document); TODO }super.setDocument(document); //super.setDocument(document); setDocument()
10,114
public final void setEditorKit(EditorKit editor) { // TODO } // setEditorKit()
publicsuper.setEditorKit(editor); finalsuper.setEditorKit(editor); voidsuper.setEditorKit(editor); setEditorKit(EditorKitsuper.setEditorKit(editor); editor)super.setEditorKit(editor); { //super.setEditorKit(editor); TODO }super.setEditorKit(editor); //super.setEditorKit(editor); setEditorKit()
10,115
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
10,116
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
10,117
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
10,118
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
10,119
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
10,120
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
10,121
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ...
10,122
protected void resolve() { // Do nothing }
protected void resolve() { // Do nothing }
10,123
protected void unresolve() { // Do nothing }
protected void unresolve() { // Do nothing }
10,124
public static IKeyPairCodec getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairCodec result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equals(Registry.DSS_KPG)) { result = new DSSKeyPairRawCodec(); } else ...
public static IKeyPairCodec getInstance(String name) if (name == null) return null; } name = name.trim(); IKeyPairCodec result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equals(Registry.DSS_KPG)) result = new DSSKeyPairRawCodec(); } else if (na...
10,125
public static IKeyPairCodec getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairCodec result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equals(Registry.DSS_KPG)) { result = new DSSKeyPairRawCodec(); } else ...
public static IKeyPairCodec getInstance(String name) { if (name == null) { return null; name = name.trim(); IKeyPairCodec result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equals(Registry.DSS_KPG)) { result = new DSSKeyPairRawCodec(); else if (...
10,126
public static IKeyPairCodec getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairCodec result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equals(Registry.DSS_KPG)) { result = new DSSKeyPairRawCodec(); } else ...
public static IKeyPairCodec getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairCodec result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equals(Registry.DSS_KPG)) { result = new DSSKeyPairRawCodec(); } else ...
10,127
public static IKeyPairCodec getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairCodec result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equals(Registry.DSS_KPG)) { result = new DSSKeyPairRawCodec(); } else ...
public static IKeyPairCodec getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairCodec result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equals(Registry.DSS_KPG)) { result = new DSSKeyPairRawCodec(); } else ...
10,128
public static final Set getNames() { return KeyPairGeneratorFactory.getNames(); }
public static synchronized final Set getNames() { return KeyPairGeneratorFactory.getNames(); }
10,129
public static final Set getNames() { return KeyPairGeneratorFactory.getNames(); }
public static final Set getNames() { if (names == null) { HashSet hs = new HashSet(); hs.add(Registry.DSS_KPG + "/" + Registry.RAW_ENCODING_SHORT_NAME); hs.add(Registry.DSS_KPG + "/" + Registry.X509_ENCODING_SORT_NAME); hs.add(Registry.DSS_KPG + "/" + Registry.PKCS8_ENCODING_SHORT_NAME); hs.add(Registry.RSA_KPG +...
10,130
private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (linux)// if (keyCode == e.VK_UNDEFINED || if ( keyCode ...
private void processVTKeyPressed(KeyEvent e){ keyProcessed = true;// displayInfo(e,"Pressed " + keyProcessed); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; }// if (li...
10,131
public Object clone() throws CloneNotSupportedException { return super.clone(); }
public Object clone() throws CloneNotSupportedException { BasePRNG result = (BasePRNG) super.clone(); if (this.buffer != null) result.buffer = (byte[])this.buffer.clone(); return result; }
10,132
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); DerUtil.checkIsConstructed(derSPKI, "Wrong Sub...
10,133
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
10,134
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
10,135
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
10,136
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
10,137
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
10,138
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger p, g, q, y; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPubl...
10,139
public void dump(PrintStream stream, int indent) { String indentStr = ""; for (int i = 0; i < indent; ++i) indentStr += " "; dumpElement(stream, indentStr, this); }
public void dump(PrintStream stream, int indent) { StringBuffer b = new StringBuffer(); for (int i = 0; i < indent; ++i) indentStr += " "; dumpElement(stream, indentStr, this); }
10,140
public void dump(PrintStream stream, int indent) { String indentStr = ""; for (int i = 0; i < indent; ++i) indentStr += " "; dumpElement(stream, indentStr, this); }
public void dump(PrintStream stream, int indent) { String indentStr = ""; for (int i = 0; i < indent; ++i) indentStr += " "; dumpElement(stream, indentStr, this); }
10,141
public int getElementIndex(int offset) { // If we have no children, return -1. if (getElementCount() == 0) return - 1; // XXX: There is surely a better algorithm // as beginning from first element each time. for (int index = 0; index < children.length; ++index) { Element ...
public int getElementIndex(int offset) { // If we have no children, return -1. if (getElementCount() == 0) return - 1; // XXX: There is surely a better algorithm // as beginning from first element each time. for (int index = 0; index < children.length; ++index) { Element ...
10,142
public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); { try { if (parent != null) { startPos = parent.getDocument().createPosition(start); endPos = parent.getDocument().createPosition(end); } else { startP...
public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); { try { if (parent != null) { startPos = parent.getDocument().createPosition(start); endPos = parent.getDocument().createPosition(end); } else { startP...
10,143
public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); { try { if (parent != null) { startPos = parent.getDocument().createPosition(start); endPos = parent.getDocument().createPosition(end); } else { startP...
public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); { try { if (parent != null) { startPos = parent.getDocument().createPosition(start); endPos = parent.getDocument().createPosition(end); } else { startP...
10,144
public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); { try { if (parent != null) { startPos = parent.getDocument().createPosition(start); endPos = parent.getDocument().createPosition(end); } else { startP...
public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); { try { if (parent != null) { startPos = parent.getDocument().createPosition(start); endPos = parent.getDocument().createPosition(end); } else { startP...
10,145
public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); { try { if (parent != null) { startPos = parent.getDocument().createPosition(start); endPos = parent.getDocument().createPosition(end); } else { startP...
public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); { try { if (parent != null) { startPos = parent.getDocument().createPosition(start); endPos = parent.getDocument().createPosition(end); } else { startP...
10,146
protected Element createBranchElement(Element parent, AttributeSet attributes) { return new BranchElement(parent, attributes); }
protected Element createBranchElement(Element parent, AttributeSet attributes) { return new BranchElement(parent, attributes); }
10,147
protected Element createBranchElement(Element parent, AttributeSet attributes) { return new BranchElement(parent, attributes); }
protected Element createBranchElement(Element parent, AttributeSet attributes) { return new BranchElement(parent, attributes); }
10,148
protected Element createLeafElement(Element parent, AttributeSet attributes, int start, int end) { return new LeafElement(parent, attributes, start, end); }
protected Element createLeafElement(Element parent, AttributeSet attributes, int start, int end) { return new LeafElement(parent, attributes, start, end); }
10,149
protected Element createLeafElement(Element parent, AttributeSet attributes, int start, int end) { return new LeafElement(parent, attributes, start, end); }
protected Element createLeafElement(Element parent, AttributeSet attributes, int start, int end) { return new LeafElement(parent, attributes, start, end); }
10,150
public Position createPosition(final int offset) throws BadLocationException { return content.createPosition(offset); }
public Position createPosition(final int offset) throws BadLocationException { return content.createPosition(offset); }
10,151
public Position createPosition(final int offset) throws BadLocationException { return content.createPosition(offset); }
public Position createPosition(final int offset) throws BadLocationException { return content.createPosition(offset); }
10,152
protected void fireChangedUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].changedUpdate(event); }
protected void fireChangedUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].changedUpdate(event); }
10,153
protected void fireChangedUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].changedUpdate(event); }
protected void fireChangedUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].changedUpdate(event); }
10,154
protected void fireInsertUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].insertUpdate(event); }
protected void fireInsertUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].insertUpdate(event); }
10,155
protected void fireInsertUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].insertUpdate(event); }
protected void fireInsertUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].insertUpdate(event); }
10,156
protected void fireRemoveUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].removeUpdate(event); }
protected void fireRemoveUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].removeUpdate(event); }
10,157
protected void fireRemoveUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].removeUpdate(event); }
protected void fireRemoveUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].removeUpdate(event); }
10,158
protected void fireUndoableEditUpdate(UndoableEditEvent event) { UndoableEditListener[] listeners = getUndoableEditListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].undoableEditHappened(event); }
protected void fireUndoableEditUpdate(UndoableEditEvent event) { UndoableEditListener[] listeners = getUndoableEditListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].undoableEditHappened(event); }
10,159
protected void fireUndoableEditUpdate(UndoableEditEvent event) { UndoableEditListener[] listeners = getUndoableEditListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].undoableEditHappened(event); }
protected void fireUndoableEditUpdate(UndoableEditEvent event) { UndoableEditListener[] listeners = getUndoableEditListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].undoableEditHappened(event); }
10,160
protected void fireUndoableEditUpdate(UndoableEditEvent event) { UndoableEditListener[] listeners = getUndoableEditListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].undoableEditHappened(event); }
protected void fireUndoableEditUpdate(UndoableEditEvent event) { UndoableEditListener[] listeners = getUndoableEditListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].undoableEditHappened(event); }
10,161
public int getAsynchronousLoadPriority() { return 0; }
public int getAsynchronousLoadPriority() { return 0; }
10,162
protected AttributeContext getAttributeContext() { return context; }
protected AttributeContext getAttributeContext() { return context; }
10,163
protected AttributeContext getAttributeContext() { return context; }
protected AttributeContext getAttributeContext() { return context; }
10,164
public Element getBidiRootElement() { return null; }
public Element getBidiRootElement() { return null; }
10,165
protected Content getContent() { return content; }
protected Content getContent() { return content; }
10,166
protected Thread getCurrentWriter() { // FIXME: Implement locking! return null; }
protected Thread getCurrentWriter() { // FIXME: Implement locking! return null; }
10,167