From commits-return-3449-archive-asf-public=cust-asf.ponee.io@velocity.apache.org Mon Oct 15 00:52:15 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 601FD180670 for ; Mon, 15 Oct 2018 00:52:15 +0200 (CEST) Received: (qmail 46617 invoked by uid 500); 14 Oct 2018 22:52:14 -0000 Mailing-List: contact commits-help@velocity.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@velocity.apache.org Delivered-To: mailing list commits@velocity.apache.org Received: (qmail 46608 invoked by uid 99); 14 Oct 2018 22:52:14 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Oct 2018 22:52:14 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id DBD4C3A01AC for ; Sun, 14 Oct 2018 22:52:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1843865 - /velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/SimpleNode.java Date: Sun, 14 Oct 2018 22:52:13 -0000 To: commits@velocity.apache.org From: cbrisson@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20181014225213.DBD4C3A01AC@svn01-us-west.apache.org> Author: cbrisson Date: Sun Oct 14 22:52:13 2018 New Revision: 1843865 URL: http://svn.apache.org/viewvc?rev=1843865&view=rev Log: [engine] Fix previous commit Modified: velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/SimpleNode.java Modified: velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/SimpleNode.java URL: http://svn.apache.org/viewvc/velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/SimpleNode.java?rev=1843865&r1=1843864&r2=1843865&view=diff ============================================================================== --- velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/SimpleNode.java (original) +++ velocity/engine/trunk/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/SimpleNode.java Sun Oct 14 22:52:13 2018 @@ -282,7 +282,7 @@ public class SimpleNode implements Node public final void dump(String prefix, PrintStream out) { Charset charset = null; - if (rsvc == null) /* may be null if node isn't yet initialized */ + if (rsvc != null) /* may be null if node isn't yet initialized */ { String encoding = rsvc.getString(RuntimeConstants.INPUT_ENCODING); try