File tree 3 files changed +3
-3
lines changed
rpm/org.eclipse.linuxtools.rpm.core/src/org/eclipse/linuxtools/rpm/core/utils
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public class RPM {
42
42
* the RPM configuration to use
43
43
*/
44
44
public RPM (RPMConfiguration config ) {
45
- IEclipsePreferences node = new DefaultScope () .getNode (RPMCorePlugin .ID );
45
+ IEclipsePreferences node = DefaultScope . INSTANCE .getNode (RPMCorePlugin .ID );
46
46
rpmCmd = node .get (IRPMConstants .RPM_CMD , "" ); //$NON-NLS-1$
47
47
String [] tmpMacroDefines = {
48
48
rpmCmd ,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public class RPMBuild {
45
45
* the RPM configuration to use
46
46
*/
47
47
public RPMBuild (RPMConfiguration config ) {
48
- IEclipsePreferences node = new DefaultScope () .getNode (RPMCorePlugin .ID );
48
+ IEclipsePreferences node = DefaultScope . INSTANCE .getNode (RPMCorePlugin .ID );
49
49
rpmBuildCmd = node .get (IRPMConstants .RPMBUILD_CMD , "" ); //$NON-NLS-1$
50
50
String [] tmpMacroDefines = {
51
51
rpmBuildCmd ,
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public static String getProvides(IFile rpmFile) throws CoreException {
90
90
91
91
private static String query (IFile rpmFile , String ... args )
92
92
throws CoreException {
93
- IEclipsePreferences node = new DefaultScope () .getNode (RPMCorePlugin .ID );
93
+ IEclipsePreferences node = DefaultScope . INSTANCE .getNode (RPMCorePlugin .ID );
94
94
String rpmCmd = node .get (IRPMConstants .RPM_CMD , "" ); //$NON-NLS-1$
95
95
List <String > command = new ArrayList <String >();
96
96
command .add (rpmCmd );
You can’t perform that action at this time.
0 commit comments