From c831d82bf086b7688c8167e69dd1bfb34d9e1871 Mon Sep 17 00:00:00 2001 From: Dale Anson Date: Sat, 12 Dec 2009 16:21:03 +0000 Subject: [PATCH] Added vararg to constructor so it matches with super constructor. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7027 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/src/net/sourceforge/pmd/cpd/AnyLanguage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pmd/src/net/sourceforge/pmd/cpd/AnyLanguage.java b/pmd/src/net/sourceforge/pmd/cpd/AnyLanguage.java index 2bf3f913f3..b6a6e222e5 100644 --- a/pmd/src/net/sourceforge/pmd/cpd/AnyLanguage.java +++ b/pmd/src/net/sourceforge/pmd/cpd/AnyLanguage.java @@ -4,7 +4,7 @@ package net.sourceforge.pmd.cpd; public class AnyLanguage extends AbstractLanguage { - public AnyLanguage(String extension) { - super(new AnyTokenizer(), extension); + public AnyLanguage(String... extensions) { + super(new AnyTokenizer(), extensions); } }