> + * 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 org.apache.jclouds.profitbricks.rest.util;
> +
> +import java.util.regex.Pattern;
> +
> +public class MacAddresses {
> +
> +   private static final String MAC_ADDR_FORMAT = 
> "^([0-9a-f]{2}[:]){5}([0-9a-f]{2})$";
> +   private static final Pattern MAC_ADDR_PATTERN = 
> Pattern.compile(MAC_ADDR_FORMAT);
> +
> +   public static boolean isMacAddress(String in) {

Add missing test

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/233/files#r52559646

Reply via email to