virtual-labs-archive / digital-logic-design-iiith

Other
3 stars 61 forks source link

Avoid unused constructor parameters such as 'outID'. #115

Open BSravanthi opened 5 years ago

BSravanthi commented 5 years ago

Avoid passing parameters to methods or constructors without actually referencing them in the method body.

Example(s):

public class Foo {
    private void bar(String howdy) {
    // howdy is not used
    }
}

Please refer to the following link to fix similar issues. https://app.codacy.com/app/BSravanthi/digital-logic-design-iiith/issues?&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6W251bGxdfSx7ImlkIjoiQ2F0ZWdvcnkiLCJ2YWx1ZXMiOlsiVW51c2VkIENvZGUiXX0seyJpZCI6IkxldmVsIiwidmFsdWVzIjpbbnVsbF19LHsiaWQiOiJQYXR0ZXJuIiwidmFsdWVzIjpbMTAwOV19LHsidmFsdWVzIjpbXX1d

DevikaBoddu commented 5 years ago

Commit id: fb03fd6 -Element.java Commit id: 020339c -mainPanel.java

DasariVarshitha commented 5 years ago

Valid fix @DevikaBoddu

vineel99 commented 5 years ago

Valid fix@Devika Boddu

AksharaMayreddy commented 5 years ago

valid fix @DevikaBoddu