forked from liferay/liferay-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
source-formatter.properties
109 lines (94 loc) · 3.4 KB
/
source-formatter.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
##
## Exclusions
##
#
# Input a list of comma delimited paths that will be excluded by the source
# formatter.
#
source.formatter.excludes=\
**/.git/**,\
**/bin/**,\
**/classes/**,\
**/test-classes/**,\
**/test-coverage/**,\
**/test-results/**,\
**/tmp/**
#
# Input a list of comma delimited file names that are allowed to have
# unalphabetized friendly URL routes.
#
friendly.url.routes.sort.excludes.files=\
portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/display-friendly-url-routes.xml
#
# Input a list of comma delimited file names that are allowed to call
# session.createSQLQuery instead of session.createSynchronizedSQLQuery. See
# LPS-42599.
#
hibernate.sql.query.excludes.files=
#
# Input a list of comma delimited file names that are allowed to have
# unalphabetized Java terms. In addition these files are allowed to have
# nonfinal variables that are capitalized.
#
javaterm.sort.excludes.files=
#
# Input a list of comma delimited file names that are allowed to surpass the
# 80 column limit.
#
line.length.excludes.files=\
portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/lar/CalendarPortletDataHandler.java@131
#
# Input a list of comma delimited portlet XML files names that are allowed
# to have non-numerical portlet-name elements.
#
numerical.portlet.name.element.excludes=\
portlets/sample-spring-portlet/docroot/WEB-INF/liferay-portlet.xml,\
portlets/sun-tour-ipc-portlet/docroot/WEB-INF/liferay-portlet.xml,\
tools/portlet_tmpl/docroot/WEB-INF/liferay-portlet.xml,\
tools/portlet_tmpl/docroot/WEB-INF/portlet.xml
#
# Input a list of comma delimited paths that are allowed to run outside the
# portal. For files that match any of these paths, we skip source formatting
# rules that enforce calling portal methods.
#
run.outside.portal.excludes=
#
# Input a list of comma delimited file names that are allowed to use
# java.security.SecureRandom. See LPS-39508.
#
secure.random.excludes.files=
#
# Input a list of comma delimited file names that are allowed to have
# nonstatic _log variables.
#
static.log.excludes.files=
#
# Input a list of comma delimited XML file names that are allowed to have
# lines that start with spaces.
#
xml.excludes.files=\
portlets/sample-struts-liferay-portlet/docroot/WEB-INF/validator-rules.xml,\
portlets/sample-struts-portlet/docroot/WEB-INF/validator-rules.xml,\
webs/solr4-web/docroot/WEB-INF/conf/solrconfig.xml
##
## Miscellaneous
##
#
# Specify incorrect and excpected parameters for the methods
# LanguageUtil.get and LanguageUtil.format. See LPS-47682.
#
languageutil.expected.parameter=request
languageutil.incorrect.parameter=pageContext
#
# Set this property to true to add the release version to deprecated Java
# terms.
#
add.missing.deprecation.release.version=true
##
## Portal Compat
##
#
# Set this property to true to force plugins to use classes from the portal
# compat JAR if possible.
#
use.portal.compat.import=true