Commit dee3a29 1 parent 88f2f76 commit dee3a29 Copy full SHA for dee3a29
File tree 1 file changed +36
-0
lines changed
src/main/java/org/apache/maven/report/projectinfo
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -105,5 +105,41 @@ protected void text( String text )
105
105
}
106
106
}
107
107
108
+ /* FIXME The next two methods need to be retained until Doxia and Maven Reporting Impl properly implement
109
+ * the difference of a (boxed) real verbatim text and (boxed) source code.
110
+ */
111
+ /**
112
+ * {@inheritDoc}
113
+ */
114
+ @ Override
115
+ protected void verbatimText ( String text )
116
+ {
117
+ sink .verbatim ( null );
118
+
119
+ text ( text );
120
+
121
+ sink .verbatim_ ();
122
+ }
123
+
124
+ /**
125
+ * {@inheritDoc}
126
+ */
127
+ @ Override
128
+ protected void verbatimLink ( String text , String href )
129
+ {
130
+ if ( StringUtils .isEmpty ( href ) )
131
+ {
132
+ verbatimText ( text );
133
+ }
134
+ else
135
+ {
136
+ sink .verbatim ( null );
137
+
138
+ link ( href , text );
139
+
140
+ sink .verbatim_ ();
141
+ }
142
+ }
143
+
108
144
protected abstract String getI18Nsection ();
109
145
}
You can’t perform that action at this time.
0 commit comments