This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 201110140600 ] [ JDK VERSION : 1.7 ] see this interface: interface ITable { public static function factory($sAlias = self::ALIAS_DEFAULT); } netbeans shows hint: "variable $sAlias seems to be unused in current scope". in the factory method the $sAlias IS used: public static function factory($sAlias = self::ALIAS_DEFAULT) { ... return self::fromName($sConfig, $sAlias, $sClassCalled); } so it seems, netbeans just scans the interface. does not make sense, because in interface the params will NEVER be used ;-)
Reassigning
Fixed in web main: http://hg.netbeans.org/web-main/rev/a4350417f026
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/a4350417f026 User: Ondrej Brejla <obrejla@netbeans.org> Log: #203761 - Variable unused: hint makes no sense in interfaces