make addcopyright.py able to handle java, js file

This commit is contained in:
frank 2012-03-28 14:15:32 -07:00
parent 28e2626567
commit 9fa4546d1e
1 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ class JavaAdder(Adder):
pass
copyRightAdderFactory = {".sql":SqlAdder.__name__, ".sh":InterpreterAdder.__name__, ".py":InterpreterAdder.__name__}
copyRightAdderFactory = {".sql":SqlAdder.__name__, ".sh":InterpreterAdder.__name__, ".py":InterpreterAdder.__name__,".java":JavaAdder.__name__, ".js":JavaAdder.__name__}
class CopyRightAdder(object):
parser = None
options = None
@ -299,4 +299,4 @@ Examples:
if __name__ == '__main__':
task = CopyRightAdder()
task.run()
task.run()