A
A
all230819922015-06-16 00:23:16
Java
all23081992, 2015-06-16 00:23:16

How long can a package nesting be?

Hello.
I write in android studio under java.
I'm refactoring code and ran into a problem - how long can a package name be?
for example, I use the Constants class described in package ru.cps.myosm.event.model;
I connect it in another import ru.cps.myosm.event.model.Constants class, which the compiler swears at.
If you reduce the nesting level (for example, ru.cps.myosm.event.Constants ), then everything goes well.
What am I doing wrong or are there nesting restrictions?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
all23081992, 2015-06-18
@all23081992

problem solved. rebooted the studio and the error was no more

V
Viktor Koltcov, 2015-06-16
@Vityarik

The phrase "the compiler swears" is not appropriate. Show compiler error text

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question