Skip to content

Commit 8e47a6d

Browse files
committed
remove unused function
1 parent 8aad88e commit 8e47a6d

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/main/java/fr/cnes/sonar/plugins/icode/check/ICodeSensor.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff 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
*

0 commit comments

Comments
 (0)