Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Checkstyle issues: (number) is a magic number. #62

Open
mmlinford opened this issue Dec 22, 2015 · 0 comments
Open

Checkstyle issues: (number) is a magic number. #62

mmlinford opened this issue Dec 22, 2015 · 0 comments

Comments

@mmlinford
Copy link
Contributor

The below locations (file name:line number:character number) were flagged with "(number) is a magic number." in Checkstyle:

Line 9: JTAF-XCore\src\main\java\org\finra\jtaf\core\commands\RandomGenerator.java:143:57: error: '5' is a magic number.
Line 1419: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\ErrorAccumulatorTest.java:33:56: error: '3' is a magic number.
Line 1431: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\ErrorAccumulatorTest.java:50:102: error: '47' is a magic number.
Line 1433: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\ErrorAccumulatorTest.java:51:102: error: '49' is a magic number.
Line 1436: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\ErrorAccumulatorTest.java:57:101: error: '47' is a magic number.
Line 1438: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\ErrorAccumulatorTest.java:58:100: error: '49' is a magic number.
Line 1454: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\ErrorAccumulatorTest.java:77:102: error: '47' is a magic number.
Line 1456: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\ErrorAccumulatorTest.java:78:102: error: '49' is a magic number.
Line 1459: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\ErrorAccumulatorTest.java:84:101: error: '47' is a magic number.
Line 1461: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\ErrorAccumulatorTest.java:85:100: error: '49' is a magic number.
Line 1572: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:144:34: error: '.05' is a magic number.
Line 1573: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:144:39: error: '.05' is a magic number.
Line 1574: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:144:44: error: '.02' is a magic number.
Line 1579: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:151:56: error: '.05' is a magic number.
Line 1580: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:151:61: error: '.08' is a magic number.
Line 1581: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:151:66: error: '.02' is a magic number.
Line 1588: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:158:71: error: '.05' is a magic number.
Line 1589: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:158:76: error: '.06' is a magic number.
Line 1590: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:158:81: error: '.02' is a magic number.
Line 1595: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:165:34: error: '.05' is a magic number.
Line 1596: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:165:39: error: '.08' is a magic number.
Line 1597: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:165:44: error: '.02' is a magic number.
Line 1603: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:172:34: error: '.05' is a magic number.
Line 1604: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:172:39: error: '.06' is a magic number.
Line 1605: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:172:44: error: '.02' is a magic number.
Line 1610: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:179:34: error: '.05f' is a magic number.
Line 1611: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:179:40: error: '.05f' is a magic number.
Line 1612: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:179:46: error: '.02f' is a magic number.
Line 1617: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:186:56: error: '.05f' is a magic number.
Line 1618: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:186:62: error: '.08f' is a magic number.
Line 1619: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:186:68: error: '.02f' is a magic number.
Line 1626: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:193:71: error: '.05f' is a magic number.
Line 1627: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:193:77: error: '.06f' is a magic number.
Line 1628: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:193:83: error: '.02f' is a magic number.
Line 1633: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:200:34: error: '.05f' is a magic number.
Line 1634: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:200:40: error: '.08f' is a magic number.
Line 1635: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:200:46: error: '.02f' is a magic number.
Line 1641: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:207:34: error: '.05f' is a magic number.
Line 1642: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:207:40: error: '.06f' is a magic number.
Line 1643: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:207:46: error: '.02f' is a magic number.
Line 1648: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:214:62: error: '100' is a magic number.
Line 1650: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:214:73: error: '101' is a magic number.
Line 1658: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:221:77: error: '100' is a magic number.
Line 1660: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:221:88: error: '100' is a magic number.
Line 1666: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:228:40: error: '100' is a magic number.
Line 1668: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:228:51: error: '101' is a magic number.
Line 1675: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:235:40: error: '100' is a magic number.
Line 1677: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:235:51: error: '100' is a magic number.
Line 1721: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:298:63: error: '14' is a magic number.
Line 1722: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:298:74: error: '15' is a magic number.
Line 1729: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:305:78: error: '4' is a magic number.
Line 1730: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:305:88: error: '4' is a magic number.
Line 1735: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:312:41: error: '14' is a magic number.
Line 1736: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:312:52: error: '15' is a magic number.
Line 1742: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:319:41: error: '4' is a magic number.
Line 1743: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:319:51: error: '4' is a magic number.
Line 1793: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:382:56: error: '5' is a magic number.
Line 1794: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:382:59: error: '8' is a magic number.
Line 1800: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:389:71: error: '5' is a magic number.
Line 1801: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:389:74: error: '5' is a magic number.
Line 1806: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:396:34: error: '5' is a magic number.
Line 1807: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:396:37: error: '8' is a magic number.
Line 1813: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:403:34: error: '5' is a magic number.
Line 1814: JTAF-XCore\src\test\java\org\finra\jtaf\core\asserts\IgnoreErrorsAssertTest.java:403:37: error: '5' is a magic number.
Line 1993: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\context\ManipulateContextHelperTest.java:251:29: error: '5' is a magic number.
Line 1994: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\context\ManipulateContextHelperTest.java:251:67: error: '5' is a magic number.
Line 1995: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\context\ManipulateContextHelperTest.java:253:67: error: '5' is a magic number.
Line 2001: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\context\ManipulateContextHelperTest.java:272:29: error: '5f' is a magic number.
Line 2002: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\context\ManipulateContextHelperTest.java:272:66: error: '5f' is a magic number.
Line 2003: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\context\ManipulateContextHelperTest.java:274:66: error: '5f' is a magic number.
Line 2185: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\RandomGeneratorTest.java:191:55: error: '10' is a magic number.
Line 2186: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\RandomGeneratorTest.java:191:75: error: '100' is a magic number.
Line 2251: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\RepeatTest.java:64:35: error: '5' is a magic number.
Line 2254: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\RepeatTest.java:72:35: error: '25' is a magic number.
Line 2257: JTAF-XCore\src\test\java\org\finra\jtaf\core\commands\RepeatTest.java:80:35: error: '30' is a magic number.
Line 2366: JTAF-XCore\src\test\java\org\finra\jtaf\core\mock\TestParamFetchingCmd.java:66:37: error: '1.1f' is a magic number.
Line 2367: JTAF-XCore\src\test\java\org\finra\jtaf\core\mock\TestParamFetchingCmd.java:66:81: error: '0.2' is a magic number.
Line 2368: JTAF-XCore\src\test\java\org\finra\jtaf\core\mock\TestParamFetchingCmd.java:74:37: error: '2.2f' is a magic number.
Line 2369: JTAF-XCore\src\test\java\org\finra\jtaf\core\mock\TestParamFetchingCmd.java:74:80: error: '1.1f' is a magic number.
Line 2370: JTAF-XCore\src\test\java\org\finra\jtaf\core\mock\TestParamFetchingCmd.java:74:87: error: '0.2' is a magic number.
Line 2371: JTAF-XCore\src\test\java\org\finra\jtaf\core\mock\TestParamFetchingCmd.java:80:37: error: '1.1f' is a magic number.
Line 2372: JTAF-XCore\src\test\java\org\finra\jtaf\core\mock\TestParamFetchingCmd.java:80:81: error: '0.2' is a magic number.
Line 2375: JTAF-XCore\src\test\java\org\finra\jtaf\core\mock\TestParamFetchingCmd.java:89:37: error: '1.1f' is a magic number.
Line 2376: JTAF-XCore\src\test\java\org\finra\jtaf\core\mock\TestParamFetchingCmd.java:89:80: error: '1.1f' is a magic number.
Line 2377: JTAF-XCore\src\test\java\org\finra\jtaf\core\mock\TestParamFetchingCmd.java:89:87: error: '0.2' is a magic number.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant