﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14043	Error-prone versus PMD on usage of short type	Don-vip	team	"r11294 addresses the new error-prone warning, thanks.

But it now raises warnings from PMD, see on [/sonar/component_issues?id=josm#resolved=false|rules=pmd%3AAvoidUsingShortType SonarQube].

> ''Java uses the short type to reduce memory usage, not to optimize calculation. On the contrary, the jvm does not has an arithmetic capabilities with the type short. So, the P-code must convert the short into int, then do the proper calculation and then again, convert int to short. So, use of the ""short"" type may have a great effect on memory usage.''

One of the two warnings must be disabled or a new solution to be found. I have no idea what's the best solution between short and int. Do we have some profiling info?"	enhancement	closed	normal	16.12	Core		fixed	performance memory	simon04 bastiK michael2402 GerdP
