CPD Results

The following document contains the results of PMD's CPD 4.1.

Duplications

FileLine
net\smartlab\web\i18n\LocaleHelper.java60
net\smartlab\web\i18n\LocaleHelper.java73
					Locale locale = (Locale)locales.nextElement();
					if (new File(context.getRealPath(prefix + '_' + locale.getLanguage() + '_' + locale.getCountry() + '_' + locale.getVariant()
							+ suffix)).exists()) {
						return prefix + '_' + locale.getLanguage() + '_' + locale.getCountry() + '_' + locale.getVariant() + suffix;
					} else if (new File(context.getRealPath(prefix + '_' + locale.getLanguage() + '_' + locale.getCountry() + suffix)).exists()) {
						return prefix + '_' + locale.getLanguage() + '_' + locale.getCountry() + suffix;
					} else if (new File(context.getRealPath(prefix + '_' + locale.getLanguage() + suffix)).exists()) {
						return prefix + '_' + locale.getLanguage() + suffix;
					}
				}