diff options
author | bvosburgh | 2012-02-10 20:49:25 +0000 |
---|---|---|
committer | bvosburgh | 2012-02-10 20:49:25 +0000 |
commit | 4716e39927cfe910fa7424870986a195d608b51f (patch) | |
tree | 800ca22e27d3d87fbd1f64968ca69efa5ceba413 /jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/GenericJpaDataSource.java | |
parent | 52f37be9bfbf1b7c0d451e99d938725ac497eed0 (diff) | |
download | webtools.dali-4716e39927cfe910fa7424870986a195d608b51f.tar.gz webtools.dali-4716e39927cfe910fa7424870986a195d608b51f.tar.xz webtools.dali-4716e39927cfe910fa7424870986a195d608b51f.zip |
rework JpaProjectManager
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/GenericJpaDataSource.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/GenericJpaDataSource.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/GenericJpaDataSource.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/GenericJpaDataSource.java index b00190e46f..a35e675b89 100644 --- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/GenericJpaDataSource.java +++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/jpa1/GenericJpaDataSource.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2011 Oracle. All rights reserved. + * Copyright (c) 2007, 2012 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0, which accompanies this distribution * and is available at http://www.eclipse.org/legal/epl-v10.html. @@ -93,7 +93,7 @@ public class GenericJpaDataSource String old = this.connectionProfileName; this.connectionProfileName = name; if (this.firePropertyChanged(CONNECTION_PROFILE_NAME_PROPERTY, old, name)) { - // synch the connection profile when the name changes + // sync the connection profile when the name changes this.setConnectionProfile(this.buildConnectionProfile(name)); JptJpaCorePlugin.setConnectionProfileName(this.getJpaProject().getProject(), name); } @@ -201,7 +201,7 @@ public class GenericJpaDataSource return; } // the connection profile will already have the new name, - // we just need to synch the name held by the data source + // we just need to sync the name held by the data source if (newName.equals(GenericJpaDataSource.this.connectionProfile.getName())) { GenericJpaDataSource.this.setConnectionProfileName(newName); } |