Return-Path: X-Original-To: apmail-freemarker-notifications-archive@minotaur.apache.org Delivered-To: apmail-freemarker-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 076111856A for ; Sun, 27 Dec 2015 14:54:59 +0000 (UTC) Received: (qmail 79255 invoked by uid 500); 27 Dec 2015 14:54:58 -0000 Delivered-To: apmail-freemarker-notifications-archive@freemarker.apache.org Received: (qmail 79234 invoked by uid 500); 27 Dec 2015 14:54:58 -0000 Mailing-List: contact notifications-help@freemarker.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@freemarker.incubator.apache.org Delivered-To: mailing list notifications@freemarker.incubator.apache.org Received: (qmail 79224 invoked by uid 99); 27 Dec 2015 14:54:58 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Dec 2015 14:54:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 61ABC1A11D9 for ; Sun, 27 Dec 2015 14:54:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.226 X-Spam-Level: * X-Spam-Status: No, score=1.226 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id uf8TaWwdHnMb for ; Sun, 27 Dec 2015 14:54:57 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 1A44E258CE for ; Sun, 27 Dec 2015 14:54:55 +0000 (UTC) Received: (qmail 79221 invoked by uid 99); 27 Dec 2015 14:54:55 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Dec 2015 14:54:55 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 04A7DE03CD; Sun, 27 Dec 2015 14:54:54 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ddekany@apache.org To: notifications@freemarker.incubator.apache.org Date: Sun, 27 Dec 2015 14:54:54 -0000 Message-Id: <893b95f42f4743eea25d2452f303c9e8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] incubator-freemarker git commit: (Documentation typo fixes and small adjustments.) Repository: incubator-freemarker Updated Branches: refs/heads/2.3-gae ea3915395 -> 90fcfb9d7 (Documentation typo fixes and small adjustments.) Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/d3654bc3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/d3654bc3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/d3654bc3 Branch: refs/heads/2.3-gae Commit: d3654bc3eea27c2a9c7b2fbe43c7ec0a793df14b Parents: ea39153 Author: ddekany Authored: Sat Dec 26 21:50:27 2015 +0100 Committer: ddekany Committed: Sat Dec 26 21:50:27 2015 +0100 ---------------------------------------------------------------------- src/main/java/freemarker/core/Configurable.java | 5 +++-- src/manual/en_US/book.xml | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/d3654bc3/src/main/java/freemarker/core/Configurable.java ---------------------------------------------------------------------- diff --git a/src/main/java/freemarker/core/Configurable.java b/src/main/java/freemarker/core/Configurable.java index adba746..5594ba0 100644 --- a/src/main/java/freemarker/core/Configurable.java +++ b/src/main/java/freemarker/core/Configurable.java @@ -1536,8 +1536,9 @@ public class Configurable { /** * Sets a FreeMarker setting by a name and string value. If you can configure FreeMarker directly with Java (or * other programming language), you should use the dedicated setter methods instead (like - * {@link #setObjectWrapper(ObjectWrapper)}. This meant to be used if you get the settings from somewhere - * as text. Regardless, below you will find an overview of the settings available no matter how you set them. + * {@link #setObjectWrapper(ObjectWrapper)}. This meant to be used only when you get settings from somewhere + * as {@link String}-{@link String} name-value pairs (typically, as a {@link Properties} object). Below you find an + * overview of the settings available. * *

Note: As of FreeMarker 2.3.23, setting names can be written in camel case too. For example, instead of * {@code date_format} you can also use {@code dateFormat}. It's likely that camel case will become to the http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/d3654bc3/src/manual/en_US/book.xml ---------------------------------------------------------------------- diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml index 51fae1f..555c8e4 100644 --- a/src/manual/en_US/book.xml +++ b/src/manual/en_US/book.xml @@ -8069,7 +8069,7 @@ myCfg.setDefaultEncoding("UTF-8"); - Environment layer: There are two ways + Environment layer: There are two ways of doing it: @@ -17617,7 +17617,7 @@ Sorted by name.last: interpret built-in - This built-in parser a string as an FTL template, and returns + This built-in parses a string as an FTL template, and returns an user-defined directive that executes that template, just as if a template with that content were include-d @@ -17642,7 +17642,7 @@ Sorted by name.last: Configuration object, not from template that calls interpret. This also means that the previously auto-detected tag syntax or auto-detected naming - convention don't effect the parsing of the interpreted template. + convention doesn't effect the parsing of the interpreted template. This is consistent with how the include directive works.