Return-Path: X-Original-To: apmail-cayenne-dev-archive@www.apache.org Delivered-To: apmail-cayenne-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B58817DAD for ; Tue, 7 Oct 2014 14:40:12 +0000 (UTC) Received: (qmail 80844 invoked by uid 500); 7 Oct 2014 14:40:12 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 80818 invoked by uid 500); 7 Oct 2014 14:40:12 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 80805 invoked by uid 99); 7 Oct 2014 14:40:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2014 14:40:12 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mkienenb@gmail.com designates 209.85.217.172 as permitted sender) Received: from [209.85.217.172] (HELO mail-lb0-f172.google.com) (209.85.217.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2014 14:40:07 +0000 Received: by mail-lb0-f172.google.com with SMTP id b6so6290603lbj.31 for ; Tue, 07 Oct 2014 07:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=8z+njX27vzJI7HD4XxSztYpxCnYQYkNKv/9HKHFKQvc=; b=toQn5mkm+bz5ImrBAjhY4azpakkFmrWoRVIBlR4TlQJEa2DaLoxx01SbvN6t2lqTL3 lkdwVf63BZu8gONDHlyUbSK4VODX+Rg9VRY/lqAsfZ1UjXeCN21I9FxnTxAyUthic10t dDg2hZsYYxCIwfS3TaUal/29nkScMBuMBgsQje+FdgqU7USOnScV48P4bOWXmOLWdD2F 89e3CMCqzLXsYKt9WZGHe/TV2TGEm7k84Mi/2fKi7ZplA/mt94TVkfTYJk+XLmyZMOQ1 G0OZAkUqWaJt8WpMhyum9AhasEj8s6bK7SGotEzHmlFKYSJw7SI+KvXb47Xepi2QSKDs z28Q== X-Received: by 10.112.54.130 with SMTP id j2mr4378665lbp.41.1412692785715; Tue, 07 Oct 2014 07:39:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.208.18 with HTTP; Tue, 7 Oct 2014 07:39:25 -0700 (PDT) From: Mike Kienenberger Date: Tue, 7 Oct 2014 10:39:25 -0400 Message-ID: Subject: Eclipse Static imports To: dev@cayenne.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org John, I had issues with static imports as well, but there is a solution. Take a look at this url: http://stackoverflow.com/questions/288861/eclipse-optimize-imports-to-include-static-imports On Tue, Oct 7, 2014 at 10:31 AM, John Huss wrote: > Hmm... I have a lot to say, so I might ramble a bit. > > 1) Static imports > > I'll never been a big user of static imports, largely because the tooling > (Eclipse) doesn't support them well. Everytime I've used a static import > (which is really only in JUnit) I've wanted to import all the members: > import package.*; Well, when you organize import Eclipse will replace the > star with the specific items you've used. So you end up have to fix the > import over and over. On the other side, Eclipse won't automatically add > the static import or even recommend it based on your code, so it becomes a > rarely used feature.