#vulnerable code 
                                @Test
    public void removesImpediment() throws Exception {
        final Project project = new FkProject();
        final PropsFarm farm = new PropsFarm();
        final Impediments imp = new Impediments(farm, project).bootstrap();
        final String job = "gh:test/test#2";
        new Wbs(project).bootstrap().add(job);
        new Orders(farm, project).bootstrap().assign(job, "amihaiemil", "0");
        imp.register(job, "reason");
        MatcherAssert.assertThat(
            imp.jobs(),
            Matchers.contains(job)
        );
        MatcherAssert.assertThat(
            imp.exists(job),
            Matchers.is(true)
        );
        imp.remove(job);
        MatcherAssert.assertThat(
            imp.jobs(),
            Matchers.not(Matchers.contains(job))
        );
        MatcherAssert.assertThat(
            imp.exists(job),
            Matchers.is(false)
        );
    } 
                            #location 15 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Test
    public void removesImpediment() throws Exception {
        final Project project = new FkProject();
        final PropsFarm farm = new PropsFarm();
        final Impediments imp = new Impediments(farm, project).bootstrap();
        final String job = "gh:test/test#2";
        new Wbs(project).bootstrap().add(job);
        new Orders(farm, project).bootstrap()
            .assign(job, "amihaiemil", UUID.randomUUID().toString());
        imp.register(job, "reason");
        MatcherAssert.assertThat(
            imp.jobs(),
            Matchers.contains(job)
        );
        MatcherAssert.assertThat(
            imp.exists(job),
            Matchers.is(true)
        );
        imp.remove(job);
        MatcherAssert.assertThat(
            imp.jobs(),
            Matchers.not(Matchers.contains(job))
        );
        MatcherAssert.assertThat(
            imp.exists(job),
            Matchers.is(false)
        );
    }