diff --git a/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Binary.java b/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Binary.java index a81137276..fb49e5f26 100644 --- a/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Binary.java +++ b/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Binary.java @@ -1,8 +1,29 @@ +/** + * Copyright (C) 2010-16 the original author or authors. + * + * Licensed 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 com.github.rvesse.airline.types.numerics.bases; import com.github.rvesse.airline.types.numerics.ComplexNumericTypeConverter; import com.github.rvesse.airline.types.numerics.NumericCandidate; +/** + * A type converter that supports binary numbers + * + * @author rvesse + * + */ public class Binary extends ComplexNumericTypeConverter { @Override diff --git a/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Hexadecimal.java b/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Hexadecimal.java index 700647208..6e92fef75 100644 --- a/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Hexadecimal.java +++ b/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Hexadecimal.java @@ -1,8 +1,29 @@ +/** + * Copyright (C) 2010-16 the original author or authors. + * + * Licensed 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 com.github.rvesse.airline.types.numerics.bases; import com.github.rvesse.airline.types.numerics.ComplexNumericTypeConverter; import com.github.rvesse.airline.types.numerics.NumericCandidate; +/** + * A type converter that supports hexadecimal numbers + * + * @author rvesse + * + */ public class Hexadecimal extends ComplexNumericTypeConverter { @Override diff --git a/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Octal.java b/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Octal.java index 36db9246b..87e5d989f 100644 --- a/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Octal.java +++ b/airline-core/src/main/java/com/github/rvesse/airline/types/numerics/bases/Octal.java @@ -1,8 +1,28 @@ +/** + * Copyright (C) 2010-16 the original author or authors. + * + * Licensed 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 com.github.rvesse.airline.types.numerics.bases; import com.github.rvesse.airline.types.numerics.ComplexNumericTypeConverter; import com.github.rvesse.airline.types.numerics.NumericCandidate; +/** + * A type converter that supports octal numbers + * @author rvesse + * + */ public class Octal extends ComplexNumericTypeConverter { @Override diff --git a/airline-core/src/test/java/com/github/rvesse/airline/args/ArgsFlagNegation.java b/airline-core/src/test/java/com/github/rvesse/airline/args/ArgsFlagNegation.java index 510f58e9e..4da321bb7 100644 --- a/airline-core/src/test/java/com/github/rvesse/airline/args/ArgsFlagNegation.java +++ b/airline-core/src/test/java/com/github/rvesse/airline/args/ArgsFlagNegation.java @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2010-16 the original author or authors. + * + * Licensed 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 com.github.rvesse.airline.args; import com.github.rvesse.airline.annotations.Command; diff --git a/airline-core/src/test/java/com/github/rvesse/airline/parser/TestFlagNegation.java b/airline-core/src/test/java/com/github/rvesse/airline/parser/TestFlagNegation.java index eda573756..ed367e5b3 100644 --- a/airline-core/src/test/java/com/github/rvesse/airline/parser/TestFlagNegation.java +++ b/airline-core/src/test/java/com/github/rvesse/airline/parser/TestFlagNegation.java @@ -1,3 +1,18 @@ +/** + * Copyright (C) 2010-16 the original author or authors. + * + * Licensed 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 com.github.rvesse.airline.parser; import org.testng.Assert;