The following document contains the results of PMD 4.2.5.
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.List' | 3 |
| Avoid unused imports such as 'de.iqser.portlets.IqserBasePortlet' | 11 |
| Avoid empty if statements | 48 - 50 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'javax.portlet.PortletPreferences' | 5 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'de.iqser.portlets.PreviewPortlet' | 14 |
| Avoid unused local variables such as 'contentUrl'. | 93 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.HashMap' | 6 |
| Avoid unused imports such as 'de.iqser.factory.PreviewRenderingFactory' | 16 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'de.iqser.portlets.PreviewPortlet' | 14 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'javax.portlet.WindowState' | 18 |
| No need to import a type that lives in the same package | 29 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.List' | 9 |
| Avoid unused imports such as 'javax.portlet.WindowState' | 19 |
| Avoid unused imports such as 'javax.servlet.http.HttpServletRequest' | 20 |
| Avoid unused imports such as 'javax.servlet.http.HttpSession' | 21 |
| Avoid unused imports such as 'com.liferay.portal.kernel.util.ParamUtil' | 25 |
| Avoid unused imports such as 'com.liferay.portal.kernel.util.WebKeys' | 26 |
| Avoid unused imports such as 'com.liferay.portal.theme.ThemeDisplay' | 27 |
| Avoid unused imports such as 'com.liferay.portal.util.PortalUtil' | 28 |
| Avoid unused imports such as 'de.iqser.beans.ContentBean' | 30 |
| No need to import a type that lives in the same package | 34 |
| Avoid unused private fields such as '_ilog'. | 38 |
| Avoid unused local variables such as 'iqserWebserviceUrl'. | 51 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 33 |
| Avoid unused private fields such as '_ilog'. | 37 |
| Avoid empty if statements | 64 - 67 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'com.liferay.portal.kernel.exception.SystemException' | 3 |
| Avoid unused imports such as 'com.liferay.portal.kernel.util.WebKeys' | 6 |
| Avoid unused imports such as 'com.liferay.portal.model.Layout' | 7 |
| Avoid unused imports such as 'com.liferay.portal.model.LayoutTypePortlet' | 8 |
| Avoid unused imports such as 'com.liferay.portal.model.Portlet' | 9 |
| Avoid unused imports such as 'com.liferay.portal.theme.ThemeDisplay' | 10 |
| Avoid unused imports such as 'de.iqser.beans.ItemBean' | 16 |
| No need to import a type that lives in the same package | 17 |
| Avoid unused imports such as 'java.io.PrintWriter' | 21 |
| Avoid unused imports such as 'javax.portlet.ResourceRequest' | 35 |
| Avoid unused imports such as 'javax.portlet.ResourceResponse' | 36 |