CloneSet1252


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
37220.963class_body_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
137246
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/PreferencesAdapter.java
237295
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/PreferencesAdapter.java
Clone Instance
1
Line Count
37
Source Line
246
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/PreferencesAdapter.java

        /**
         * {@inheritDoc}
         */
        public void setDefault(String name, double value) {
                fPreferences.setDefault(name, value);
        }

        /**
         * {@inheritDoc}
         */
        public void setDefault(String name, float value) {
                fPreferences.setDefault(name, value);
        }

        /**
         * {@inheritDoc}
         */
        public void setDefault(String name, int value) {
                fPreferences.setDefault(name, value);
        }

        /**
         * {@inheritDoc}
         */
        public void setDefault(String name, long value) {
                fPreferences.setDefault(name, value);
        }

        /**
         * {@inheritDoc}
         */
        public void setDefault(String name, String defaultObject) {
                fPreferences.setDefault(name, defaultObject);
        }

        /**
         * {@inheritDoc}
         */
        public void setDefault(String name, boolean value) {
                fPreferences.setDefault(name, value);
        }


Clone Instance
2
Line Count
37
Source Line
295
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/PreferencesAdapter.java

        /**
         * {@inheritDoc}
         */
        public void setValue(String name, double value) {
                fPreferences.setValue(name, value);
        }

        /**
         * {@inheritDoc}
         */
        public void setValue(String name, float value) {
                fPreferences.setValue(name, value);
        }

        /**
         * {@inheritDoc}
         */
        public void setValue(String name, int value) {
                fPreferences.setValue(name, value);
        }

        /**
         * {@inheritDoc}
         */
        public void setValue(String name, long value) {
                fPreferences.setValue(name, value);
        }

        /**
         * {@inheritDoc}
         */
        public void setValue(String name, String value) {
                fPreferences.setValue(name, value);
        }

        /**
         * {@inheritDoc}
         */
        public void setValue(String name, boolean value) {
                fPreferences.setValue(name, value);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * {@inheritDoc}
         */
public void [[#variableb350b5e0]](String name, double value) {
  fPreferences. [[#variableb350b5e0]](name, value);
}

/**
         * {@inheritDoc}
         */
public void [[#variableb350b5e0]](String name, float value) {
  fPreferences. [[#variableb350b5e0]](name, value);
}

/**
         * {@inheritDoc}
         */
public void [[#variableb350b5e0]](String name, int value) {
  fPreferences. [[#variableb350b5e0]](name, value);
}

/**
         * {@inheritDoc}
         */
public void [[#variableb350b5e0]](String name, long value) {
  fPreferences. [[#variableb350b5e0]](name, value);
}

/**
         * {@inheritDoc}
         */
public void [[#variableb350b5e0]](String name, String  [[#variableb350b200]]) {
  fPreferences. [[#variableb350b5e0]](name,  [[#variableb350b200]]);
}

/**
         * {@inheritDoc}
         */
public void [[#variableb350b5e0]](String name, boolean value) {
  fPreferences. [[#variableb350b5e0]](name, value);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b350b5e0]]
setValue 
12[[#b350b5e0]]
setDefault 
21[[#b350b200]]
value 
22[[#b350b200]]
defaultObject