Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5706D18419 for ; Wed, 6 Jan 2016 09:20:40 +0000 (UTC) Received: (qmail 11991 invoked by uid 500); 6 Jan 2016 09:20:40 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 11852 invoked by uid 500); 6 Jan 2016 09:20:40 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 11817 invoked by uid 99); 6 Jan 2016 09:20:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2016 09:20:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DFA9C2C1F56 for ; Wed, 6 Jan 2016 09:20:39 +0000 (UTC) Date: Wed, 6 Jan 2016 09:20:39 +0000 (UTC) From: "YanYan (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DIRKRB-408) Fix findbugs issues MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRKRB-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] YanYan updated DIRKRB-408: -------------------------- Attachment: DIRKRB-408.patch Fix most bugs in the 5 modules in Description. However, there are 2 remaining bugs: {code} Unused field: org.apache.kerby.benchmark.generated.JsonBackendBenchmark_jmhType_B1.p000 {code} In fact, there are 2304 of this same kind of bugs. {code} new org.apache.kerby.kerberos.kerb.integration.test.Transport$Message(String, byte[]) may expose internal representation by storing an externally mutable object into Transport$Message.body {code} I have tried {{this.body = body.clone()}}, however, it makes an error when test. Pulling request link: [https://github.com/apache/directory-kerby/pull/5] > Fix findbugs issues > -------------------- > > Key: DIRKRB-408 > URL: https://issues.apache.org/jira/browse/DIRKRB-408 > Project: Directory Kerberos > Issue Type: Bug > Affects Versions: 1.0.0-RC2 > Reporter: Xu Yaning > Assignee: YanYan > Attachments: DIRKRB-408.patch > > > When the source code is built with findbugs, there are some bugs, mainly in benchmark module, json-backend module, integration-test module, kerb-util module and kdc-tool module. -- This message was sent by Atlassian JIRA (v6.3.4#6332)