commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (LANG-1366) Add Feature for No ClassName and MultiLine StringStyle
Date Sat, 05 Oct 2019 05:50:00 GMT

     [ https://issues.apache.org/jira/browse/LANG-1366?focusedWorklogId=323880&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-323880
]

ASF GitHub Bot logged work on LANG-1366:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Oct/19 05:49
            Start Date: 05/Oct/19 05:49
    Worklog Time Spent: 10m 
      Work Description: kinow commented on pull request #308: LANG-1366 : Add Feature for
No ClassName and MultiLine StringStyle
URL: https://github.com/apache/commons-lang/pull/308#discussion_r331734101
 
 

 ##########
 File path: src/test/java/org/apache/commons/lang3/builder/NoClassNameMultiLineToStringStyleTest.java
 ##########
 @@ -0,0 +1,127 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.lang3.builder;
+
+import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+
+
+import java.util.ArrayList;
+import java.util.HashMap;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+/**
+ * Unit tests {@link org.apache.commons.lang3.builder.NoClassNameMultiLineToStringStyleTest}.
+ */
+public class NoClassNameMultiLineToStringStyleTest {
 
 Review comment:
   Yeah, and if it's not something that can be checked with checkstyle or with the other build
tools, we have no clear way to enforce... and having to ask users to alter their PR's can
be a bit frustrating for the contributors.
   
   For this reason I think it might be easier to just keep things as they are, and accept
new submissions using either public, private, or package-protected.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 323880)
    Time Spent: 1h 50m  (was: 1h 40m)

> Add Feature for No ClassName and MultiLine StringStyle
> ------------------------------------------------------
>
>                 Key: LANG-1366
>                 URL: https://issues.apache.org/jira/browse/LANG-1366
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>            Reporter: Karthikeyan Palanivelu
>            Priority: Major
>              Labels: features
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Add feature to print String with No Class Name and MultiLine. This would be of helpful
for more like metrics related use cases which needs to print like properties with No Class
Name and each property in new line.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message