From: "Damir Shayhutdinov" <damir@altlinux.org> To: "ALT Devel discussion list" <devel@lists.altlinux.org> Subject: Re: [devel] Вопрос специалистам по Java/Ant Date: Mon, 6 Aug 2007 16:27:25 +0400 Message-ID: <679044850708060527h7ce5e1fbsc50ff9ac4f88450@mail.gmail.com> (raw) In-Reply-To: <46B7123B.80109@altlinux.ru> /usr/src/RPM/BUILD/fedora-ds-console-1.1.0/src/com/netscape/management/client/preferences/FilePreferenceManager.java:49: > reference to Console is ambiguous, both class > com.netscape.management.client.console.Console in > com.netscape.management.client.console and class java.io.Console in > java.io match > [javac] File f = new File(Console.PREFERENCE_DIR); > > Можно ли как-то сказать ему о приоритете > com.netscape.management.client.console.Console? Можно указать полное имя класса. То есть File f = new File(com.netscape.management.client.console.Console.PREFERENCE_DIR); > Или каким-нибудь образом заставить не использовать java.io.Console? Просто не надо импортировать все из java.io.*, а импортировать только нужные классы.
next prev parent reply other threads:[~2007-08-06 12:27 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-08-06 12:21 Vitaly Kuznetsov 2007-08-06 12:27 ` Damir Shayhutdinov [this message] 2007-08-06 12:37 ` Vitaly Kuznetsov 2007-08-06 12:52 ` Mikhail A. Pokidko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=679044850708060527h7ce5e1fbsc50ff9ac4f88450@mail.gmail.com \ --to=damir@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git