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

Hello Devs,

Where i can find link to download code-style.xml

which should be configurable with eclipse IDE.

Regards

Brajesh Murari

revision-diff.txt (1.14 KB)

···

On Saturday, 22 February 2014 9:07 PM, "noreply@launchpad.net" noreply@launchpad.net wrote:


revno: 14096
committer: Lars Helge Øverland larshelge@gmail.com
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

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@yahoo.com 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@launchpad.net" noreply@launchpad.net wrote:


revno: 14096
committer: Lars Helge Øverland larshelge@gmail.com
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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Thanks Morten

Regards

Brajesh Murari

···

On Monday, 24 February 2014 12:30 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

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@yahoo.com 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@launchpad.net" noreply@launchpad.net wrote:


revno: 14096
committer: Lars Helge Øverland larshelge@gmail.com
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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp