#vulnerable code 
                             public void loadModelFromResources(String modelFilePath, String rangeFilePath) throws IOException
	{
		InputStreamReader modelISR = new InputStreamReader(SVMClassifier.class
				.getResourceAsStream(modelFilePath));
		BufferedReader modelFile = new BufferedReader(modelISR);

        BufferedReader rangeFile = null;
        if (rangeFilePath != null) {
            InputStreamReader rangeISR = new InputStreamReader(SVMClassifier.class
                    .getResourceAsStream(rangeFilePath));
            rangeFile = new BufferedReader(rangeISR);
        }
		loadModelFromFile(modelFile, rangeFile);
	} 
                            #location 13 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                             public void loadModelFromResources(String modelFilePath, String rangeFilePath) throws IOException
	{
		InputStreamReader modelISR = new InputStreamReader(this.getClass().getResourceAsStream(modelFilePath));
		BufferedReader modelFile = new BufferedReader(modelISR);
		
		InputStreamReader rangeISR = new InputStreamReader(this.getClass().getResourceAsStream(rangeFilePath));
		BufferedReader rangeFile = new BufferedReader(rangeISR);
		loadModelFromFile(modelFile, rangeFile);
	}