File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
src/main/java/fr/cnes/sonar/plugins/icode/check Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -203,25 +203,6 @@ private void executeEmbeddedICode(final SensorContext sensorContext) {
203203
204204 }
205205
206- /**
207- * Return the file extension without the final point '.'.
208- *
209- * @param pFileName
210- * to retrieve the extension
211- * @return The extension name of the file
212- */
213- private String getFileExtension (final String pFileName ) {
214- String extension = null ;
215-
216- final int i = pFileName .lastIndexOf ('.' );
217- final int p = Math .max (pFileName .lastIndexOf ('/' ), pFileName .lastIndexOf ('\\' ));
218-
219- if (i > p ) {
220- extension = pFileName .substring (i + 1 );
221- }
222- return extension ;
223- }
224-
225206 /**
226207 * Execute i-Code through a system process.
227208 *
You can’t perform that action at this time.
0 commit comments