[Demonstration 1]

[Buggy Method]
private void setSlidersValue() {
    /*
		 * sliderHauteurVisage.setMin(-3); sliderHauteurVisage.setMax(3);
		 * sliderHauteurVisage.setValue(2); sliderLargeurVisage.setMin(-3);
		 * sliderLargeurVisage.setMax(3); sliderLargeurVisage.setValue(2);
		 * sliderDistanceYeux.setMin(-3); sliderDistanceYeux.setMax(3);
		 * sliderDistanceYeux.setValue(-2);
		 */
    sliderEcartYeux.setMin(-0.4);
    sliderEcartYeux.setMax(0.4);
    sliderEcartYeux.setValue(0);
    sliderDistanceYeux.setMax(0.000000000001);
    choiceBoxYeux.setValue(EyeColor.BROWN);
    choiceBoxSkin.setValue(SkinColor.MEDIUM);
    choiceBoxCouleurCheveux.setValue(HairColor.BLACK);
}

[Buggy Hunk]
choiceBoxCouleurCheveux.setValue(HairColor.BLACK);

[Patch]
choiceBoxCouleurCheveux.setValue(HairColor.BLOND);

[Demonstration 2]

[Buggy Method]
private void watch() {
    while (true) {
        WatchKey watchKey;
        try {
            watchKey = ws.take();
            String rootPath = keyMap.get(watchKey);
            if (StringUtils.isBlank(rootPath)) {
                continue;
            }
            List<WatchEvent<?>> watchEvents = watchKey.pollEvents();
            for (WatchEvent<?> event : watchEvents) {
                final String fullPath = rootPath + event.context();
                @SuppressWarnings("unchecked")
                Kind<Path> kd = (Kind<Path>) event.kind();
                if (kd.equals(StandardWatchEventKinds.ENTRY_CREATE)) {
                    final File cf = new File(fullPath);
                    if (cf.isDirectory()) {
                        this.addListener(fullPath);
                    }
                    FileTools.threadPool.submit(new Runnable() {

                        @Override
                        public void run() {
                            try {
                                ToolMain.mapAllfiles(cf, AppConfig.getInstance().getExcludedir());
                            } catch (Exception e) {
                                logger.warn("map all files of: " + fullPath + " failed, ", e);
                            }
                        }
                    });
                } else if (kd.equals(StandardWatchEventKinds.ENTRY_DELETE)) {
                    FileTools.threadPool.submit(new Runnable() {

                        @Override
                        public void run() {
                            BaseSqliteStore.getInstance().deleteRecordsInDirs(fullPath);
                        }
                    });
                } else if (kd.equals(StandardWatchEventKinds.ENTRY_MODIFY)) {
                    final File cf = new File(fullPath);
                    if (cf.isFile()) {
                        FileTools.threadPool.submit(new Runnable() {

                            @Override
                            public void run() {
                                BaseSqliteStore.getInstance().checkIfAlreadyExist(cf);
                            }
                        });
                    }
                } else {
                    logger.info("unknown event: " + event);
                }
            }
            boolean valid = watchKey.reset();
            {
                if (!valid) {
                    logger.warn("the key is invalid: " + rootPath);
                }
            }
        } catch (InterruptedException e) {
            logger.warn("caused: ", e);
        }
    }
}

[Buggy Hunk]
String rootPath = keyMap.get(watchKey);

[Patch]
String rootPath = keyMap.get(watchKey) + File.separator;