Яндекс.Метрика
    Поиск по тегу

    autobot


    Найдено: 2 записи

    humour

    Трудовые будни становятся чуточку веселее

    public void commitChanges() throws TransformerException, IOException {
        Transformer optimusPrime = TransformerFactory.newInstance().newTransformer();
        optimusPrime.setOutputProperty(OutputKeys.INDENT, "yes");

        StreamResult robot = new StreamResult(file);
        DOMSource truck = new DOMSource(documentRoot);
        optimusPrime.transform(truck, robot);

        logger.info("Commited " + numberOfChanges.get() + " changes to " + file.getName());
        numberOfChanges.set(0);
    }

    * This source code was highlighted with Source Code Highlighter.


    Улыбнитесь :)

    humour

    Трудовые будни становятся чуточку веселее

    public void commitChanges() throws TransformerException, IOException {
        Transformer optimusPrime = TransformerFactory.newInstance().newTransformer();
        optimusPrime.setOutputProperty(OutputKeys.INDENT, "yes");

        StreamResult robot = new StreamResult(file);
        DOMSource truck = new DOMSource(documentRoot);
        optimusPrime.transform(truck, robot);

        logger.info("Commited " + numberOfChanges.get() + " changes to " + file.getName());
        numberOfChanges.set(0);
    }

    * This source code was highlighted with Source Code Highlighter.


    Улыбнитесь :)