Issue 127095

Summary: The result of function isn't used
Product: General Reporter: AppChecker <appchecker>
Component: codeAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P5 (lowest)    
Version: 4.1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description AppChecker 2016-08-31 08:05:16 UTC
1)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java#L456

                for (int i = 2; i < count; i++)
                {
                    module.replaceFirst("," + value, "");
                }

Value of the variable module isn't changed

2)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/ChooseDirectoryCtrl.java#L86

 s.trim();

Value of the variable s isn't changed

3)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L229

s.trim();

Value of the variable s isn't changed

4)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L267

s.trim();

Value of the variable s isn't changed

5)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L346

s.trim();

Value of the variable s isn't changed

6)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L243

installPath.trim();

Value of the variable installPath isn't changed

7)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L281

installPath.trim();

Value of the variable installPath isn't changed

8)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/InstUtil.java#L290

version.trim();

Value of the variable version isn't changed

9)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/FileUpdater.java#L46

s.trim();

Value of the variable s isn't changed

10)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/FileUpdater.java#L120

s.trim();

Value of the variable s isn't changed

11)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/scripting/workben/installer/FileUpdater.java#L196

s.trim();

Value of the variable s isn't changed

12)
https://github.com/apache/openoffice/blob/c014b5f2b55cff8d4b0c952d5c16d62ecde09ca1/main/l10ntools/source/filter/utils/XMLHelper.java#L216

sToken.trim();

Value of the variable sToken isn't changed.

All possible bugs were found by Echelon team with AppChecker static analyzer (https://npo-echelon.ru/en/solutions/appchecker.php)