bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void actionPerformed(ActionEvent evt) { dbcs = new DBConnectionSpec(); dbcsPanel.applyChanges(dbcs); historyBox.addItem(ASUtils.lvb(dbcs.getDisplayName(), dbcs)); d.setVisible(false); } | public void actionPerformed(ActionEvent evt) { dbcs = new DBConnectionSpec(); dbcsPanel.applyChanges(dbcs); historyBox.addItem(ASUtils.lvb(dbcs.getDisplayName(), dbcs)); d.setVisible(false); } | 1,108,717 |
public Tag getTag() { return tag; } | public Tag getTag() throws Exception { Tag tag = (Tag) tagHolder.get(); if ( tag == null ) { tag = createTag(); if ( tag != null ) { configureTag(tag); tagHolder.set(tag); } } return tag; } | 1,108,718 |
public static TagScript newInstance(Tag tag) { if (tag instanceof DynaTag) { return new DynaTagScript((DynaTag) tag); } return new BeanTagScript(tag); } | public static TagScript newInstance(Tag tag) { if (tag instanceof DynaTag) { return new DynaTagScript((DynaTag) tag); } return new BeanTagScript(tag); } | 1,108,719 |
public static TagScript newInstance(Tag tag) { if (tag instanceof DynaTag) { return new DynaTagScript((DynaTag) tag); } return new BeanTagScript(tag); } | public static TagScript newInstance(Tag tag) { if (tag instanceof DynaTag) { return new DynaTagScript((DynaTag) tag); } return new BeanTagScript(factory); } | 1,108,720 |
public String toString() { return super.toString() + "[tag=" + tag + "]"; } | public String toString() { return super.toString() + "[tag=" + elementName + ";at=" + lineNumber + ":" + columnNumber + "]"; } | 1,108,722 |
public BeanTagScript(Tag tag) { super(tag); } | public BeanTagScript(Tag tag) { super(tag); } | 1,108,723 |
public void doTag(final XMLOutput output) throws Exception { getGoal(getName()).addPreGoalCallback( new PreGoalCallback() { public void firePreGoal(Goal goal) throws Exception { // lets run the body log.debug( "Running pre goal: " + getN... | public void doTag(final XMLOutput output) throws Exception { getGoal(getName()).addPreGoalCallback( new PreGoalCallback() { public void firePreGoal(Goal goal) throws Exception { // lets run the body log.debug( "Running pre goal: " + getN... | 1,108,724 |
public void firePreGoal(Goal goal) throws Exception { // lets run the body log.debug( "Running pre goal: " + getName() ); getBody().run( context, output); } | public void firePreGoal(Goal goal) throws Exception { // lets run the body log.debug( "Running pre goal: " + getName() ); invokeBody( output); } | 1,108,725 |
public DPrimeTable(int numMarkers){ theTable = new PairwiseLinkage[numMarkers][]; sample = new PairwiseLinkage[1]; } | public DPrimeTable(int numMarkers){ theTable = new PairwiseLinkage[numMarkers][]; } | 1,108,727 |
public void addMarker(Vector marker, int pos){ theTable[pos] = (PairwiseLinkage[]) marker.toArray(sample); } | public void addMarker(Vector marker, int pos){ theTable[pos] = (PairwiseLinkage[]) marker.toArray(new PairwiseLinkage[0]); } | 1,108,728 |
SNP(String n, long p, double m, byte a1, byte a2, String e){ name = n; position = p; MAF = m; major = a1; minor = a2; extra = e; } | SNP(String n, long p, double m, byte a1, byte a2){ name = n; position = p; MAF = m; major = a1; minor = a2; extra = e; } | 1,108,729 |
SNP(String n, long p, double m, byte a1, byte a2, String e){ name = n; position = p; MAF = m; major = a1; minor = a2; extra = e; } | SNP(String n, long p, double m, byte a1, byte a2, String e){ name = n; position = p; MAF = m; major = a1; minor = a2; } | 1,108,730 |
public String getPValue() { double pval = 0; pval= MathUtil.gammq(.5,.5*this.chiSqVal); DecimalFormat df; //java truly sucks for simply restricting the number of sigfigs but still //using scientific notation when appropriate if (pval < 0.0001){ df = new DecimalFo... | public String getPValue() { double pval = 0; pval= MathUtil.gammq(.5,.5*this.chiSqVal); DecimalFormat df; //java truly sucks for simply restricting the number of sigfigs but still //using scientific notation when appropriate if (pval < 0.0001){ df = new DecimalFo... | 1,108,731 |
public String getPValue() { double pval = 0; pval= MathUtil.gammq(.5,.5*this.chiSqVal); DecimalFormat df; //java truly sucks for simply restricting the number of sigfigs but still //using scientific notation when appropriate if (pval < 0.0001){ df = new DecimalFo... | public String getPValue() { double pval = 0; pval= MathUtil.gammq(.5,.5*this.chiSqVal); DecimalFormat df; //java truly sucks for simply restricting the number of sigfigs but still //using scientific notation when appropriate if (pval < 0.0001){ df = new DecimalFo... | 1,108,732 |
protected void createThumbnail( VolumeBase volume ) { log.debug( "Creating thumbnail for " + uid ); ODMGXAWrapper txw = new ODMGXAWrapper(); txw.lock( this, Transaction.WRITE ); // Maximum size of the thumbnail int maxThumbWidth = 100; int maxThumbHeight = 1... | protected void createThumbnail( VolumeBase volume ) { log.debug( "Creating thumbnail for " + uid ); ODMGXAWrapper txw = new ODMGXAWrapper(); txw.lock( this, Transaction.WRITE ); // Maximum size of the thumbnail int maxThumbWidth = 100; int maxThumbHeight = 1... | 1,108,733 |
protected void createThumbnail( VolumeBase volume ) { log.debug( "Creating thumbnail for " + uid ); ODMGXAWrapper txw = new ODMGXAWrapper(); txw.lock( this, Transaction.WRITE ); // Maximum size of the thumbnail int maxThumbWidth = 100; int maxThumbHeight = 1... | protected void createThumbnail( VolumeBase volume ) { log.debug( "Creating thumbnail for " + uid ); ODMGXAWrapper txw = new ODMGXAWrapper(); txw.lock( this, Transaction.WRITE ); // Maximum size of the thumbnail int maxThumbWidth = 100; int maxThumbHeight = 1... | 1,108,734 |
protected void createThumbnail( VolumeBase volume ) { log.debug( "Creating thumbnail for " + uid ); ODMGXAWrapper txw = new ODMGXAWrapper(); txw.lock( this, Transaction.WRITE ); // Maximum size of the thumbnail int maxThumbWidth = 100; int maxThumbHeight = 1... | protected void createThumbnail( VolumeBase volume ) { log.debug( "Creating thumbnail for " + uid ); ODMGXAWrapper txw = new ODMGXAWrapper(); txw.lock( this, Transaction.WRITE ); // Maximum size of the thumbnail int maxThumbWidth = 100; int maxThumbHeight = 1... | 1,108,735 |
void updateFromFileMetadata( File f ) { ExifDirectory exif = null; try { Metadata metadata = JpegMetadataReader.readMetadata(f); if ( metadata.containsDirectory( ExifDirectory.class ) ) { try { exif = (ExifDirectory) metadata.getDirectory( ExifD... | void updateFromFileMetadata( File f ) { ExifDirectory exif = null; try { Metadata metadata = JpegMetadataReader.readMetadata(f); if ( metadata.containsDirectory( ExifDirectory.class ) ) { try { exif = (ExifDirectory) metadata.getDirectory( ExifD... | 1,108,736 |
public void remove(PlayPenComponent c) { int j = children.indexOf(c); if ( j >= 0 ) remove(j); } | public void remove(PlayPenComponent c) { int j = children.indexOf(c); if ( j >= 0 ) remove(j); } | 1,108,738 |
public void actionPerformed(ActionEvent evt) { List selection = pp.getSelectedItems(); if (selection.size() < 1) { JOptionPane.showMessageDialog(pp, "Select a relationship (by clicking on it) and try again."); } else if (selection.size() > 1) { JOptionPane.showMessageDialog(pp, "You have selected multiple items... | public void actionPerformed(ActionEvent evt) { List selection = pp.getSelectedItems(); if (selection.size() < 1) { JOptionPane.showMessageDialog(pp, "Select a relationship (by clicking on it) and try again."); } else if (selection.size() > 1) { JOptionPane.showMessageDialog(pp, "You have selected multiple items... | 1,108,739 |
public void actionPerformed(ActionEvent evt) { List selection = pp.getSelectedItems(); if (selection.size() < 1) { JOptionPane.showMessageDialog(pp, "Select a relationship (by clicking on it) and try again."); } else if (selection.size() > 1) { JOptionPane.showMessageDialog(pp, "You have selected multiple items... | public void actionPerformed(ActionEvent evt) { List selection = pp.getSelectedItems(); if (selection.size() < 1) { JOptionPane.showMessageDialog(pp, "Select a relationship (by clicking on it) and try again."); } else if (selection.size() > 1) { JOptionPane.showMessageDialog(pp, "You have selected multiple items... | 1,108,740 |
public String getToolTipText(MouseEvent e) { String text = null; Point ep = e.getPoint(); // event's point in playpen in screen coords Point sp = owner.unzoomPoint(ep); PlayPenComponent c = getComponentAt(sp); if (c != null) { text = c.getToolTipText(); } logger.debug("Checking for tooltip component at "+e.ge... | public String getToolTipText(MouseEvent e) { String text = null; Point ep = e.getPoint(); // event's point in playpen in screen coords Point sp = owner.unzoomPoint(ep); PlayPenComponent c = getComponentAt(sp); if (c != null) { text = c.getToolTipText(); } logger.debug("Checking for tooltip component at "+e.ge... | 1,108,741 |
public void setName(String argName){ put(PL_LOGICAL, argName); } | public void setName(String argName){ putImpl(PL_LOGICAL, argName, "name"); } | 1,108,742 |
public void mousePressed (MouseEvent e) { Rectangle blockselector = new Rectangle(clickXShift-boxRadius,clickYShift - boxRadius, (Chromosome.getFilteredSize()*boxSize), boxSize); //if users right clicks & holds, pop up the info if ((e.getModifiers() & InputEvent.BUTTON3_MASK) == ... | public void mousePressed (MouseEvent e) { Rectangle blockselector = new Rectangle(clickXShift-boxRadius,clickYShift - boxRadius, (Chromosome.getFilteredSize()*boxSize), boxSize); //if users right clicks & holds, pop up the info if ((e.getModifiers() & InputEvent.BUTTON3_MASK) == ... | 1,108,743 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | 1,108,744 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | 1,108,745 |
private User buildUser(ActionForm form){ UserForm userForm = (UserForm)form; List<Role> roles = new ArrayList<Role>(1); roles.add(new Role(userForm.getRole())); User user = new User(userForm.getUsername(), Crypto.hash(userForm.getPassword()), roles, userForm.getStatus(), 0... | private User buildUser(ActionForm form){ UserForm userForm = (UserForm)form; List<Role> roles = new ArrayList<Role>(1); String[] rolesString = userForm.getRole(); for(int ctr=0; ctr < rolesString.length; ctr++){ roles.add(new Role(rolesString[ctr])); } User user = new User(userForm.getUs... | 1,108,746 |
public static void checkAccess(ServiceContext context, String aclName) throws UnAuthorizedAccessException { checkAccess(context, aclName, null); } | public static void checkAccess(ServiceContext context, String aclName, String targetName) throws UnAuthorizedAccessException { checkAccess(context, aclName, null); } | 1,108,747 |
public static void checkAccess(ServiceContext context, String aclName) throws UnAuthorizedAccessException { checkAccess(context, aclName, null); } | public static void checkAccess(ServiceContext context, String aclName) throws UnAuthorizedAccessException { if(!canAccess(context, aclName, targetName)){ throw new UnAuthorizedAccessException("Insufficient Privileges"); } } | 1,108,748 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) { ApplicationConfig config =... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) { ApplicationConfig config =... | 1,108,749 |
protected Object newInstance(Class theClass, Map attributes, XMLOutput output) throws Exception { Object parentObject = getParentObject(); if (parentObject != null) { // now lets try call the create method... Class parentClass = parentObject.getClass(); Method method =... | protected Object newInstance(Class theClass, Map attributes, XMLOutput output) throws Exception { Object parentObject = getParentObject(); if (parentObject != null) { // now lets try call the create method... Class parentClass = parentObject.getClass(); Method method =... | 1,108,751 |
public void setUp() { try { volumeRoot = File.createTempFile( "photovaultVolumeTest", "" ); volumeRoot.delete(); volumeRoot.mkdir(); extvolRoot = File.createTempFile( "photovaultVolumeTestExt", "" ); extvolRoot.delete(); extvolRoot.mkdir(); ... | public void setUp() { try { volumeRoot = File.createTempFile( "photovaultVolumeTest", "" ); volumeRoot.delete(); volumeRoot.mkdir(); extvolRoot = File.createTempFile( "photovaultVolumeTestExt", "" ); extvolRoot.delete(); extvolRoot.mkdir(); ... | 1,108,752 |
public void doTag(XMLOutput output) throws Exception { // evaluate body as it may contain a <destination> or message tag getBody().run(context, output); Message message = getMessage(); if ( message == null ) { throw new JellyException( "No message specified. Either spe... | public void doTag(XMLOutput output) throws Exception { // evaluate body as it may contain a <destination> or message tag invokeBody(output); Message message = getMessage(); if ( message == null ) { throw new JellyException( "No message specified. Either specify a 'mess... | 1,108,753 |
public Object getValueAt(Object node, int column) { HaplotypeAssociationNode n = (HaplotypeAssociationNode) node; switch (column){ case 0: return n.getName(); case 1: return n.getFreq(); case 2: r... | public Object getValueAt(Object node, int column) { HaplotypeAssociationNode n = (HaplotypeAssociationNode) node; switch (column){ case 0: return n.getName(); case 1: return n.getFreq(); case 2: i... | 1,108,754 |
private double hwCalculate(int obsAA, int obsAB, int obsBB) throws PedFileException{ //Calculates exact two-sided hardy-weinberg p-value. Parameters //are number of genotypes, number of rare alleles observed and //number of heterozygotes observed. // // (c) 2003 Jan Wigginton, Gon... | private double hwCalculate(int obsAA, int obsAB, int obsBB) throws PedFileException{ //Calculates exact two-sided hardy-weinberg p-value. Parameters //are number of genotypes, number of rare alleles observed and //number of heterozygotes observed. // // (c) 2003 Jan Wigginton, Gon... | 1,108,755 |
public Expression createExpression(final String text) throws Exception {/* org.apache.commons.jexl.Expression expr = org.apache.commons.jexl.ExpressionFactory.createExpression(text); if ( isSupportAntVariables() ) { expr.addPostResolver(new FlatResolv... | public Expression createExpression(final String text) throws Exception {/* org.apache.commons.jexl.Expression expr = org.apache.commons.jexl.ExpressionFactory.createExpression(text); if ( isSupportAntVariables() ) { expr.addPostResolver(new FlatResolv... | 1,108,756 |
public static void fitColumnWidth(JTable table, int colIndex) { fitColumnWidth(table, colIndex, -1); } | public static void fitColumnWidth(JTable table, int colIndex) { fitColumnWidth(table, colIndex, -1); } | 1,108,757 |
public static void fitColumnWidths(JTable table, int maxColumnWidth) { table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); for (int colIndex = 0; colIndex < table.getColumnCount(); colIndex++) { fitColumnWidth(table, colIndex, maxColumnWidth); } } | public static void fitColumnWidths(JTable table, int maxColumnWidth, int padding) { table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); for (int colIndex = 0; colIndex < table.getColumnCount(); colIndex++) { fitColumnWidth(table, colIndex, maxColumnWidth); } } | 1,108,758 |
public static void fitColumnWidths(JTable table, int maxColumnWidth) { table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); for (int colIndex = 0; colIndex < table.getColumnCount(); colIndex++) { fitColumnWidth(table, colIndex, maxColumnWidth); } } | public static void fitColumnWidths(JTable table, int maxColumnWidth) { table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); for (int colIndex = 0; colIndex < table.getColumnCount(); colIndex++) { fitColumnWidth(table, colIndex, maxColumnWidth, padding); } } | 1,108,759 |
public void run(JellyContext context, XMLOutput output) throws Exception { if ( firstRun ) { firstRun = false; // lets see if we have a dynamic tag tag = findDynamicTag(context, (StaticTag) tag); } tag.setContext(context); DynaTag dyna... | public void run(JellyContext context, XMLOutput output) throws Exception { if ( firstRun ) { firstRun = false; // lets see if we have a dynamic tag tag = findDynamicTag(context, (StaticTag) tag); } try { tag.setContext(context); DynaTag dynaTag = (D... | 1,108,760 |
public void run(JellyContext context, XMLOutput output) throws Exception { if ( firstRun ) { firstRun = false; // lets see if we have a dynamic tag tag = findDynamicTag(context, (StaticTag) tag); } tag.setContext(context); DynaTag dyna... | public void run(JellyContext context, XMLOutput output) throws Exception { if ( firstRun ) { firstRun = false; // lets see if we have a dynamic tag tag = findDynamicTag(context, (StaticTag) tag); } tag.setContext(context); DynaTag dyna... | 1,108,761 |
public void run(JellyContext context, XMLOutput output) throws Exception { if ( firstRun ) { firstRun = false; // lets see if we have a dynamic tag tag = findDynamicTag(context, (StaticTag) tag); } tag.setContext(context); DynaTag dyna... | public void run(JellyContext context, XMLOutput output) throws Exception { if ( firstRun ) { firstRun = false; // lets see if we have a dynamic tag tag = findDynamicTag(context, (StaticTag) tag); } tag.setContext(context); DynaTag dyna... | 1,108,762 |
public Tag createTag(String name) throws Exception { Object value = templates.get(name); if ( value instanceof Script ) { Script template = (Script) value; return new DynamicTag(template); } else if ( value instanceof DynaTag ) { return... | public Tag createTag(String name) throws Exception { Object value = templates.get(name); if ( value instanceof Script ) { Script template = (Script) value; return new DynamicTag(template); } else if ( value instanceof DynaTag ) { return... | 1,108,763 |
public void run(JellyContext context, XMLOutput output) throws Exception { try { Tag tag = getTag(); if ( tag == null ) { return; } tag.setContext(context); if ( tag instanceof DynaTag ) { DynaTag dynaTag = (Dyna... | public void run(JellyContext context, XMLOutput output) throws Exception { try { Tag tag = getTag(); if ( tag == null ) { return; } tag.setContext(context); if ( tag instanceof DynaTag ) { DynaTag dynaTag = (Dyna... | 1,108,764 |
public void drop(DropTargetDropEvent dtde) { Transferable t = dtde.getTransferable(); PlayPen c = (PlayPen) dtde.getDropTargetContext().getComponent(); DataFlavor importFlavor = bestImportFlavor(c, t.getTransferDataFlavors()); if (importFlavor == null) { dtde.rejectDrop(); } else { try { Object so... | public void drop(DropTargetDropEvent dtde) { Transferable t = dtde.getTransferable(); PlayPen c = (PlayPen) dtde.getDropTargetContext().getComponent(); DataFlavor importFlavor = bestImportFlavor(c, t.getTransferDataFlavors()); if (importFlavor == null) { dtde.rejectDrop(); } else { try { Object so... | 1,108,765 |
public void setContext(JellyContext context) { this.context = context; } | public void setContext(JellyContext context) throws Exception { this.context = context; } | 1,108,766 |
public TDTPanel(PedFile pf) throws PedFileException{ if (Options.getAssocTest() == 1){ result = TDT.calcTrioTDT(pf); }else{ result = TDT.calcCCTDT(pf); } tableColumnNames.add("#"); tableColumnNames.add("Name"); if (Options.getAssocTest() == 1){ ... | public TDTPanel(PedFile pf) throws PedFileException{ if (Options.getAssocTest() == ASSOC_TRIO){ result = TDT.calcTrioTDT(pf); }else{ result = TDT.calcCCTDT(pf); } tableColumnNames.add("#"); tableColumnNames.add("Name"); if (Options.getAssocTest() == AS... | 1,108,767 |
public void refreshTable(){ this.removeAll(); Vector tableData = new Vector(); int numRes = Chromosome.getSize(); for (int i = 0; i < numRes; i++){ Vector tempVect = new Vector(); TDTResult currentResult = (TDTResult)result.get(Chromosome.realIndex[i]); t... | public void refreshTable(){ this.removeAll(); Vector tableData = new Vector(); int numRes = Chromosome.getSize(); for (int i = 0; i < numRes; i++){ Vector tempVect = new Vector(); TDTResult currentResult = (TDTResult)result.get(Chromosome.realIndex[i]); t... | 1,108,768 |
public Result analyze(Filter<S> filter, List<OrderedProperty<S>> orderings) { if (!filter.isBound()) { // Strictly speaking, this is not required, but it detects the // mistake of not properly calling initialFilterValues. throw new IllegalArgumentException("Filter must be bou... | public Result analyze(Filter<S> filter, List<OrderedProperty<S>> orderings) { if (!filter.isBound()) { // Strictly speaking, this is not required, but it detects the // mistake of not properly calling initialFilterValues. throw new IllegalArgumentException("Filter must be bou... | 1,108,769 |
public void actionPerformed(ActionEvent evt) { logger.debug("delete action detected!"); logger.debug("ACTION COMMAND: " + evt.getActionCommand()); if (evt.getActionCommand().equals(ArchitectSwingConstants.ACTION_COMMAND_SRC_PLAYPEN)) { logger.debug("delete action came from playpen"); List items = pp.getSelected... | public void actionPerformed(ActionEvent evt) { logger.debug("delete action detected!"); logger.debug("ACTION COMMAND: " + evt.getActionCommand()); if (evt.getActionCommand().equals(ArchitectSwingConstants.ACTION_COMMAND_SRC_PLAYPEN)) { logger.debug("delete action came from playpen"); List items = pp.getSelected... | 1,108,770 |
protected void registerWidgetTag(String name, Class widgetClass) { registerWidgetTag(name, widgetClass, SWT.DEFAULT); } | protected void registerWidgetTag(String name, Class widgetClass) { registerWidgetTag(name, widgetClass, SWT.NULL); } | 1,108,771 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | 1,108,772 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | 1,108,773 |
private void argHandler(String[] args){ argHandlerMessages = new Vector(); int maxDistance = -1; //this means that user didn't specify any output type if it doesn't get changed below blockOutputType = -1; double hapThresh = -1; double minimumMAF=-1; double spacingThr... | private void argHandler(String[] args){ argHandlerMessages = new Vector(); int maxDistance = -1; //this means that user didn't specify any output type if it doesn't get changed below blockOutputType = -1; double hapThresh = -1; double minimumMAF=-1; double spacingThr... | 1,108,775 |
public FolderNodeEditor( FolderTreePane treePane ) { super(); this.treePane = treePane; setLayout( new BoxLayout(this, BoxLayout.X_AXIS) ); check = new JCheckBox(); check.setBackground( Color.WHITE ); check.addActionListener( this ); name = new JLabel(); icon ... | public FolderNodeEditor( FolderTreePane treePane ) { super(); this.treePane = treePane; setLayout( new BoxLayout(this, BoxLayout.X_AXIS) ); check = new ThreeStateCheckBox(); check.setBackground( Color.WHITE ); check.addActionListener( this ); name = new JLabel(); ... | 1,108,776 |
public Component getTreeCellEditorComponent(JTree jTree, Object object, boolean isSelected, boolean isExpanded, boolean isLeaf, int i) { node = (FolderNode) object; icon.setIcon( isExpanded ? expandedIcon : closedIcon ); PhotoFolder f = node.getFolder(); name.setText( f.getNa... | public Component getTreeCellEditorComponent(JTree jTree, Object object, boolean isSelected, boolean isExpanded, boolean isLeaf, int row ) { node = (FolderNode) object; icon.setIcon( isExpanded ? expandedIcon : closedIcon ); PhotoFolder f = node.getFolder(); name.setText( f.ge... | 1,108,778 |
public Component getTreeCellEditorComponent(JTree jTree, Object object, boolean isSelected, boolean isExpanded, boolean isLeaf, int i) { node = (FolderNode) object; icon.setIcon( isExpanded ? expandedIcon : closedIcon ); PhotoFolder f = node.getFolder(); name.setText( f.getNa... | public Component getTreeCellEditorComponent(JTree jTree, Object object, boolean isSelected, boolean isExpanded, boolean isLeaf, int i) { node = (FolderNode) object; icon.setIcon( isExpanded ? expandedIcon : closedIcon ); PhotoFolder f = node.getFolder(); name.setText( f.getNa... | 1,108,779 |
public Component getTreeCellRendererComponent(JTree jTree, Object object, boolean isSelected, boolean isExpanded, boolean isLeaf, int row, boolean hasFocus) { if (object instanceof FolderNode) { node = (FolderNode) object; icon.setIcon( isExpanded ? expandedIcon ... | public Component getTreeCellRendererComponent(JTree jTree, Object object, boolean isSelected, boolean isExpanded, boolean isLeaf, int row, boolean hasFocus) { if (object instanceof FolderNode) { node = (FolderNode) object; icon.setIcon( isExpanded ? expandedIcon ... | 1,108,780 |
public void run() { synchronized ( this ) { while ( true ) { try { System.out.println( "Waiting..." ); wait(); System.out.println( "Waited..." ); if ( photo != null ) { System.out.println( "Creating thumbnail..." ); Thumbnail thumb = photo.getThumbnail(); System.out.println( "Done!" )... | public void run() { synchronized ( this ) { while ( true ) { try { log.debug( "Waiting..." ); wait(); System.out.println( "Waited..." ); if ( photo != null ) { System.out.println( "Creating thumbnail..." ); Thumbnail thumb = photo.getThumbnail(); System.out.println( "Done!" ); final... | 1,108,782 |
public void run() { synchronized ( this ) { while ( true ) { try { System.out.println( "Waiting..." ); wait(); System.out.println( "Waited..." ); if ( photo != null ) { System.out.println( "Creating thumbnail..." ); Thumbnail thumb = photo.getThumbnail(); System.out.println( "Done!" )... | public void run() { synchronized ( this ) { while ( true ) { try { System.out.println( "Waiting..." ); wait(); log.debug( "Waited..." ); if ( photo != null ) { System.out.println( "Creating thumbnail..." ); Thumbnail thumb = photo.getThumbnail(); System.out.println( "Done!" ); final... | 1,108,783 |
public void run() { synchronized ( this ) { while ( true ) { try { System.out.println( "Waiting..." ); wait(); System.out.println( "Waited..." ); if ( photo != null ) { System.out.println( "Creating thumbnail..." ); Thumbnail thumb = photo.getThumbnail(); System.out.println( "Done!" )... | public void run() { synchronized ( this ) { while ( true ) { try { System.out.println( "Waiting..." ); wait(); System.out.println( "Waited..." ); if ( photo != null ) { log.debug( "Creating thumbnail for " + photo.getUid() ); Thumbnail thumb = photo.getThumbnail(); System.out.println(... | 1,108,784 |
public void run() { synchronized ( this ) { while ( true ) { try { System.out.println( "Waiting..." ); wait(); System.out.println( "Waited..." ); if ( photo != null ) { System.out.println( "Creating thumbnail..." ); Thumbnail thumb = photo.getThumbnail(); System.out.println( "Done!" )... | public void run() { synchronized ( this ) { while ( true ) { try { System.out.println( "Waiting..." ); wait(); System.out.println( "Waited..." ); if ( photo != null ) { System.out.println( "Creating thumbnail..." ); Thumbnail thumb = photo.getThumbnail(); log.debug( "Done!" ); final... | 1,108,785 |
public DBCSPanel() { setupContents(); } | public DBCSPanel() { setLayout(new BorderLayout()); dbDriverField = new JComboBox(getDriverClasses()); dbDriverField.insertItemAt("", 0); dbNameField = new JTextField(); JComponent[] fields = new JComponent[] {dbNameField, dbDriverField, dbUrlField = new JTextField(), dbUserField = new JTextField(), dbPassField = new... | 1,108,788 |
public void actionPerformed(ActionEvent e) { int i = dbNameField.getSelectedIndex(); if (!itemChanging && i >= 0) { logger.debug("Changing to index "+i+" of "+dbcsHistory); applyChanges(); setDbcs((DBConnectionSpec) dbcsHistory.get(i)); } else if (i == -1) { String newName = (String)... | public void actionPerformed(ActionEvent e) { int i = dbNameField.getSelectedIndex(); if (!itemChanging && i >= 0) { logger.debug("Changing to index "+i+" of "+dbcsHistory); applyChanges(); setDbcs((DBConnectionSpec) dbcsHistory.get(i)); } else if (i == -1) { String newName = (String)... | 1,108,789 |
public void applyChanges() { int oldIndex = dbcsHistory.indexOf(dbcs); String name = (String) dbNameField.getItemAt(oldIndex); logger.debug("Changing name of DBCS at index "+oldIndex+" to "+name); dbcs.setName(name); dbcs.setDisplayName(name); dbcs.setDriverClass(dbDriverField.getSelectedItem().toString()); dbc... | public void applyChanges() { int oldIndex = dbcsHistory.indexOf(dbcs); String name = (String) dbNameField.getItemAt(oldIndex); logger.debug("Changing name of DBCS at index "+oldIndex+" to "+name); dbcs.setName(name); dbcs.setDisplayName(name); dbcs.setDriverClass(dbDriverField.getSelectedItem().toString()); dbc... | 1,108,790 |
public void setDbcs(DBConnectionSpec dbcs) { try { itemChanging = true; int index = dbcsHistory.indexOf(dbcs); if (index < 0) { logger.debug("Adding NEW dbcs to history list: "+dbcs); dbcsHistory.add(dbcs); dbNameField.addItem(dbcs.getDisplayName()); index = dbcsHistory.size() - 1; } dbNameField... | public void setDbcs(DBConnectionSpec dbcs) { try { itemChanging = true; int index = dbcsHistory.indexOf(dbcs); if (index < 0) { logger.debug("Adding NEW dbcs to history list: "+dbcs); dbcsHistory.add(dbcs); dbNameField.addItem(dbcs.getDisplayName()); index = dbcsHistory.size() - 1; } dbNameField... | 1,108,791 |
public Vector<Transaction> getTransactions(Date startDate, Date endDate){ Vector<Transaction> transactions = getTransactions(); Vector<Transaction> v = new Vector<Transaction>(); for (Transaction t : transactions) { if (t.getDate().after(startDate) && t.getDate().before(endDate)){ v.add(t); } } re... | public Vector<Transaction> getTransactions(Date startDate, Date endDate){ Vector<Transaction> transactions = getTransactions(); Vector<Transaction> v = new Vector<Transaction>(); for (Transaction t : transactions) { if (t.getDate().after(startDate) && t.getDate().before(endDate)){ v.add(t); } } re... | 1,108,793 |
public void save(ProgressMonitor pm) throws IOException, ArchitectException { // write to temp file and then rename (this preserves old project file // when there's problems) if (file.exists() && !file.canWrite()) { // write problems with architect file will muck up the save process throw new ArchitectExceptio... | public void save(ProgressMonitor pm) throws IOException, ArchitectException { // write to temp file and then rename (this preserves old project file // when there's problems) if (file.exists() && !file.canWrite()) { // write problems with architect file will muck up the save process throw new ArchitectExceptio... | 1,108,796 |
public void save(ProgressMonitor pm) throws IOException, ArchitectException { // write to temp file and then rename (this preserves old project file // when there's problems) if (file.exists() && !file.canWrite()) { // write problems with architect file will muck up the save process throw new ArchitectExceptio... | public void save(ProgressMonitor pm) throws IOException, ArchitectException { // write to temp file and then rename (this preserves old project file // when there's problems) if (file.exists() && !file.canWrite()) { // write problems with architect file will muck up the save process throw new ArchitectExceptio... | 1,108,797 |
private void createDatabase() { // Ask for the admin password PVDatabase db = new PVDatabase(); String user = ""; String passwd = ""; if ( dbServerBtn.isSelected() ) { AdminLoginDlg loginDlg = new AdminLoginDlg( this, true ); if ( loginDlg.showDialog() == Adm... | private void createDatabase() { // Ask for the admin password PVDatabase db = new PVDatabase(); String user = ""; String passwd = ""; if ( dbServerBtn.isSelected() ) { AdminLoginDlg loginDlg = new AdminLoginDlg( this, true ); if ( loginDlg.showDialog() == Adm... | 1,108,798 |
protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour whi... | protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour whi... | 1,108,800 |
protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour whi... | protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour whi... | 1,108,801 |
protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour whi... | protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour whi... | 1,108,802 |
protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour whi... | protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour whi... | 1,108,803 |
public void actionPerformed(ActionEvent e) { Rectangle rect = null; if ( playpen != null ) { for (int i = 0; i < playpen.getContentPane().getComponentCount(); i++) { PlayPenComponent ppc = playpen.getContentPane().getComponent(i); if ( i == 0 ) { rect = new Rectangle(ppc.getLocation(... | public void actionPerformed(ActionEvent e) { Rectangle rect = null; if ( playpen != null ) { for (int i = 0; i < playpen.getContentPane().getComponentCount(); i++) { PlayPenComponent ppc = playpen.getContentPane().getComponent(i); if ( rect == null ) { rect = new Rectangle(ppc.getLoc... | 1,108,804 |
public void actionPerformed(ActionEvent e) { Rectangle rect = null; if ( playpen != null ) { for (int i = 0; i < playpen.getContentPane().getComponentCount(); i++) { PlayPenComponent ppc = playpen.getContentPane().getComponent(i); if ( i == 0 ) { rect = new Rectangle(ppc.getLocation(... | public void actionPerformed(ActionEvent e) { Rectangle rect = null; if ( playpen != null ) { for (int i = 0; i < playpen.getContentPane().getComponentCount(); i++) { PlayPenComponent ppc = playpen.getContentPane().getComponent(i); if ( i == 0 ) { rect = new Rectangle(ppc.getLocation(... | 1,108,805 |
public void actionPerformed(ActionEvent e) { Rectangle rect = null; if ( playpen != null ) { for (int i = 0; i < playpen.getContentPane().getComponentCount(); i++) { PlayPenComponent ppc = playpen.getContentPane().getComponent(i); if ( i == 0 ) { rect = new Rectangle(ppc.getLocation(... | public void actionPerformed(ActionEvent e) { Rectangle rect = null; if ( playpen != null ) { for (int i = 0; i < playpen.getContentPane().getComponentCount(); i++) { PlayPenComponent ppc = playpen.getContentPane().getComponent(i); if ( i == 0 ) { rect = new Rectangle(ppc.getLocation(... | 1,108,806 |
public void addDatabase( PVDatabase db ) { databases.put( db.getName(), db ); } | public void addDatabase( PVDatabase db ) throws PhotovaultException { if ( databases.containsKey( db.getName() ) ) { throw new PhotovaultException( "Database " + db.getDbName() + " already exists!" ); } databases.put( db.getName(), db ); } | 1,108,807 |
private static ConnectorRegistry create(ApplicationConfig config) throws Exception { Map paramValues = config.getParamValues(); String appId = config.getApplicationId(); String connectorId = (String) paramValues.get("connectorId"); File file1 = new File(CoreUtils.getConnectorDir() + File... | private static ConnectorRegistry create(ApplicationConfig config) throws Exception { Map paramValues = config.getParamValues(); String appId = config.getApplicationId(); String connectorId = (String) paramValues.get("connectorId"); File file1 = new File(CoreUtils.getConnectorDir() + File... | 1,108,808 |
public void doTag(XMLOutput output) throws Exception { if ( log.isDebugEnabled() ) { log.debug( "Running body: " + getBody() ); } getBody().run(context, output); } | public void doTag(XMLOutput output) throws Exception { if ( log.isDebugEnabled() ) { log.debug( "Running body: " + getBody() ); } invokeBody(output); } | 1,108,809 |
public static void main(String[] args) throws Exception { try { if (args.length <= 0) { System.out.println("Usage: Jelly scriptFile [outputFile]"); return; } Jelly jelly = new Jelly(); jelly.setScript(args[0]); ... | public static void main(String[] args) throws Exception { try { if (args.length <= 0) { System.out.println("Usage: Jelly scriptFile [outputFile]"); return; } Jelly jelly = new Jelly(); jelly.setScript(args[0]); ... | 1,108,810 |
public static void main(String[] args) throws Exception { try { if (args.length <= 0) { System.out.println("Usage: Jelly scriptFile [outputFile]"); return; } Jelly jelly = new Jelly(); jelly.setScript(args[0]); ... | public static void main(String[] args) throws Exception { try { if (args.length <= 0) { System.out.println("Usage: Jelly scriptFile [outputFile]"); return; } Jelly jelly = new Jelly(); jelly.setScript(args[0]); ... | 1,108,811 |
public static void main(String[] args) throws Exception { try { if (args.length <= 0) { System.out.println("Usage: Jelly scriptFile [outputFile]"); return; } Jelly jelly = new Jelly(); jelly.setScript(args[0]); ... | public static void main(String[] args) throws Exception { try { if (args.length <= 0) { System.out.println("Usage: Jelly scriptFile [outputFile]"); return; } Jelly jelly = new Jelly(); jelly.setScript(args[0]); ... | 1,108,812 |
public void run() { try { writer.close(); } catch (Exception e) { // ignore errors } } | public void run() { try { output.close(); } catch (Exception e) { // ignore errors } } | 1,108,813 |
public void run(Context context, XMLOutput output) throws Exception { // Try find find the body from the reserved 'org.apache.commons.jelly.body' variable Script script = (Script) context.getVariable( "org.apache.commons.jelly.body" ); if ( script != null ) { script.run( context, out... | public void run(JellyContext context, XMLOutput output) throws Exception { // Try find find the body from the reserved 'org.apache.commons.jelly.body' variable Script script = (Script) context.getVariable( "org.apache.commons.jelly.body" ); if ( script != null ) { script.run( context... | 1,108,814 |
protected Stylesheet createStylesheet() { // add default actions Stylesheet answer = new Stylesheet(); answer.setValueOfAction( new Action() { public void run(Node node) throws Exception { String text = node.getStringValue(); ... | protected Stylesheet createStylesheet(final XMLOutput output) { // add default actions Stylesheet answer = new Stylesheet(); answer.setValueOfAction( new Action() { public void run(Node node) throws Exception { String text = node... | 1,108,815 |
public void doTag(XMLOutput output) throws Exception { // for use by inner classes this.output = output; Stylesheet stylesheet = getStylesheet(); stylesheet.clear(); // run the body to add the rules invokeBody(output); stylesheet.setModeName(getMode()); if (var != null) { context.setVariable(var, stylesheet)... | public void doTag(XMLOutput output) throws Exception { // for use by inner classes this.output = output; Stylesheet stylesheet = getStylesheet(); stylesheet.clear(); // run the body to add the rules invokeBody(output); stylesheet.setModeName(getMode()); if (var != null) { context.setVariable(var, stylesheet)... | 1,108,816 |
public Stylesheet getStylesheet() { if ( stylesheet == null ) { stylesheet = createStylesheet(); } return stylesheet; } | public Stylesheet getStylesheet() { if ( stylesheet == null ) { stylesheet = createStylesheet(); } return stylesheet; } | 1,108,817 |
public static void main(String[] args) throws Exception{ /* display info */ message(); /* get password from user */ char[] password = getPassword(); if(password == null){ return; } EncryptedKey encryptedKey = new EncryptedKey(password); /* wr... | public static void main(String[] args) throws Exception{ /* display info */ message(); /* get password from user */ char[] password = getPassword(); if(password == null){ return; } EncryptedKey encryptedKey = new EncryptedKey(password); /* wr... | 1,108,818 |
public synchronized void setupDialog() { logger.debug("running setupDialog()"); // always refresh Target Database (it might have changed) plexp.setTargetDataSource(ArchitectFrame.getMainInstance().getProject().getTargetDatabase().getDataSource()); if (d != null) { refreshConnections(); return; } d = new JD... | public synchronized void setupDialog() { logger.debug("running setupDialog()"); // always refresh Target Database (it might have changed) plexp.setTargetDataSource(ArchitectFrame.getMainInstance().getProject().getTargetDatabase().getDataSource()); if (d != null) { refreshConnections(); return; } d = new JD... | 1,108,819 |
public synchronized void setupDialog() { logger.debug("running setupDialog()"); // always refresh Target Database (it might have changed) plexp.setTargetDataSource(ArchitectFrame.getMainInstance().getProject().getTargetDatabase().getDataSource()); if (d != null) { refreshConnections(); return; } d = new JD... | public synchronized void setupDialog() { logger.debug("running setupDialog()"); // always refresh Target Database (it might have changed) plexp.setTargetDataSource(ArchitectFrame.getMainInstance().getProject().getTargetDatabase().getDataSource()); if (d != null) { refreshConnections(); return; } d = new JD... | 1,108,820 |
public void mousePressed (MouseEvent e) { if ((e.getModifiers() & InputEvent.BUTTON3_MASK) == InputEvent.BUTTON3_MASK){ final int clickX = e.getX(); final int clickY = e.getY(); double dboxX = (double)(clickX - clickXShift - (clickY-clic... | public void mousePressed (MouseEvent e) { if ((e.getModifiers() & InputEvent.BUTTON3_MASK) == InputEvent.BUTTON3_MASK){ final int clickX = e.getX(); final int clickY = e.getY(); double dboxX = (double)(clickX - clickXShift - (clickY-clic... | 1,108,822 |
public void mousePressed (MouseEvent e) { if ((e.getModifiers() & InputEvent.BUTTON3_MASK) == InputEvent.BUTTON3_MASK){ final int clickX = e.getX(); final int clickY = e.getY(); double dboxX = (double)(clickX - clickXShift - (clickY-clic... | public void mousePressed (MouseEvent e) { if ((e.getModifiers() & InputEvent.BUTTON3_MASK) == InputEvent.BUTTON3_MASK){ final int clickX = e.getX(); final int clickY = e.getY(); double dboxX = (double)(clickX - clickXShift - (clickY-clic... | 1,108,823 |
public Object construct(){ final int leftMargin = 12; String[] displayStrings = new String[5]; if (theData.infoKnown){ displayStrings[0] = new String ("(" +Chromoso... | public Object construct(){ final int leftMargin = 12; String[] displayStrings = new String[5]; if (theData.infoKnown){ displayStrings[0] = new String ("(" +Chromoso... | 1,108,824 |
public Object construct(){ final int leftMargin = 12; String[] displayStrings = new String[5]; if (theData.infoKnown){ displayStrings[0] = new String ("(" +Chromoso... | public Object construct(){ final int leftMargin = 12; String[] displayStrings = new String[5]; if (theData.infoKnown){ displayStrings[0] = new String ("(" +Chromoso... | 1,108,825 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,826 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,827 |
public void actionPerformed(ActionEvent e) { if (e.getSource() == connection) { setComps(connComp, true); setComps(physicalComp, false); setComps(loadComp, false); } else if (e.getSource() == physical) { setComps(connComp, false); setComps(physicalComp, true); setComps(loadComp, false); } ... | public void actionPerformed(ActionEvent e) { if (e.getSource() == connection) { setComps(connComp, true); setComps(physicalComp, false); setComps(loadComp, false); } else if (e.getSource() == physical) { setComps(connComp, false); setComps(physicalComp, true); setComps(loadComp, false); } ... | 1,108,828 |
private void buildPartialUI(DefaultFormBuilder builder, boolean defaultPlayPen) { String prefix; if (defaultPlayPen == true){ prefix = "source"; } else{ prefix = "target"; } CellConstraints cc = new CellConstraints(); ArchitectFrame af = ArchitectFrame.getMainInstance(); SwingUIProject project ... | private void buildPartialUI(DefaultFormBuilder builder, boolean defaultPlayPen) { String prefix; if (defaultPlayPen == true){ prefix = "source"; } else{ prefix = "target"; } CellConstraints cc = new CellConstraints(); ArchitectFrame af = ArchitectFrame.getMainInstance(); SwingUIProject project ... | 1,108,829 |
public void modifyColumn(SQLColumn c) throws ArchitectDiffException { Map colNameMap = new HashMap(); SQLTable t = c.getParentTable(); print("\n ALTER TABLE "); printQualified(t.getPhysicalName()); print(" ALTER COLUMN "); print(columnDefinition(c,colNameMap)); endStatement(DDLStatement.StatementType.MODIFY, c... | public void modifyColumn(SQLColumn c) throws ArchitectDiffException { Map colNameMap = new HashMap(); SQLTable t = c.getParentTable(); print("\n ALTER TABLE "); print( DDLUtils.toQualifiedName(t.getCatalogName(),t.getSchemaName(),t.getPhysicalName()) ); print(" ALTER COLUMN "); print(columnDefinition(c,colNameM... | 1,108,830 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.