← Back to team overview

dhis2-devs team mailing list archive

Re: [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14096: Codestyle

 

You can find it on our developer page. Direct links is:
http://www.dhis2.org/download/resources/dhis-code-style-eclipse.xml

--
Morten


On Mon, Feb 24, 2014 at 1:58 PM, Brajesh Murari <brajesh.murari@xxxxxxxxx>wrote:

> Hello Devs,
>
> Where i can find link to download code-style.xml
> which should be configurable with eclipse IDE.
>
> Regards
> Brajesh Murari
>
>
>
>   On Saturday, 22 February 2014 9:07 PM, "noreply@xxxxxxxxxxxxx" <
> noreply@xxxxxxxxxxxxx> wrote:
>  ------------------------------------------------------------
> revno: 14096
> committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
> branch nick: dhis2
> timestamp: Sat 2014-02-22 16:36:32 +0100
> message:
>   Codestyle
> modified:
>
> dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/HibernateGenericStore.java
>
>
> --
> lp:dhis2
> https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
>
> You are subscribed to branch lp:dhis2.
> To unsubscribe from this branch go to
> https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
>
>
> === modified file
> 'dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/HibernateGenericStore.java'
> ---
> dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/HibernateGenericStore.java
> 2014-02-11 09:11:15 +0000
> +++
> dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/HibernateGenericStore.java
> 2014-02-22 15:36:32 +0000
> @@ -397,8 +397,10 @@
>
>      protected boolean sharingEnabled()
>      {
> -        return forceAcl() || (SharingUtils.isSupported( clazz ) &&
> !(currentUserService.getCurrentUser() == null ||
> -            CollectionUtils.containsAny(
> currentUserService.getCurrentUser().getUserCredentials().getAllAuthorities(),
> SharingUtils.SHARING_OVERRIDE_AUTHORITIES )));
> +        boolean enabled = forceAcl() || ( SharingUtils.isSupported( clazz
> ) && !( currentUserService.getCurrentUser() == null ||
> +            CollectionUtils.containsAny(
> currentUserService.getCurrentUser().getUserCredentials().getAllAuthorities(),
> SharingUtils.SHARING_OVERRIDE_AUTHORITIES ) ) );
> +
> +        return enabled;
>      }
>
>      protected boolean isReadAllowed( T object )
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References