Skip to main content
Participant
September 5, 2009
Question

The copyright header is missing in this file

  • September 5, 2009
  • 1 reply
  • 2402 views

I am trying to fix the PMD violation (info) in one of my projects and I can't seem to be able to do so. I have added relevant copyright information in one of my action script files eg.

///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2009 Jeffery Fernandez.
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the GNU Public License v2.0
// which accompanies this distribution, and is available at
// http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
//
// Contributors:
//     Jeffery Fernandez - initial API and implementation
////////////////////////////////////////////////////////////////////////////////

and then re-ran the FlexPMD over my code base. It still complained about the missing copyright headers. Can anyone point out what I am doing wrong?

cheers,

Jeffery

This topic has been closed for replies.

1 reply

Adobe Employee
September 5, 2009

It may be a bug in this rule, we are searching for

/*

**

Not //

Can you fill a bug in https://bugs.adobe.com/jira/browse/FLEXPMD?

Thanks

Participant
September 5, 2009

Thanks Xavier,

I have opened a bug report at https://bugs.adobe.com/jira/browse/FLEXPMD-60