#!/usr/bin/env bash
message="HTTP protocol found"
find . -name '*.java' -exec grep 'http://' /dev/null {} + || message="HTTP protocol not found"
echo "--- ${message} ---"