<children xmi:type="notation:Shape" xmi:id="_HnevcJLxEeKiAcjvUSJfd3" type="2008" fontName="Lucida Grande" fontHeight="11" lineColor="0">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HnfWgJLxEeKiAcjvUSJfd4" source="ShadowFigure">
<details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_HnfWgZLxEeKiAcjvUSJfds" key="ShadowFigure_Value" value="false"/>
</eAnnotations>
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HnfWgpLxEeKiAcjvUSJfdc" source="displayNameLabelIcon">
<details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_HnfWg5LxEeKiAcjvUSJf3d" key="displayNameLabelIcon_value" value="false"/>
</eAnnotations>
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_HngvWhJLxEeKiAcjvUSJfdg" source="QualifiedName">
<details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_HnfWhZLxEeKiAcjvUSJfdg" key="QualifiedNameDepth" value="1000"/>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Architecture a = mock(Architecture.class); | |
| when(a.getName()).thenReturn("arch"); | |
| Class class1 = mock(Class.class); | |
| when(class1.getName()).thenReturn("Class1"); | |
| List<Class> klasses = new ArrayList<Class>(); | |
| klasses.add(class1); | |
| when(a.getClasses()).thenReturn(klasses); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package mestrado.arquitetura.representation; | |
| import java.util.ArrayList; | |
| import java.util.Collections; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import mestrado.arquitetura.helpers.Predicate; | |
| import mestrado.arquitetura.helpers.UtilResources; | |
| import mestrado.arquitetura.representation.relationship.AbstractionRelationship; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package mestrado.arquitetura.builders; | |
| import java.util.ArrayList; | |
| import java.util.Collections; | |
| import java.util.List; | |
| import mestrado.arquitetura.base.RelationshipBase; | |
| import mestrado.arquitetura.exceptions.ModelIncompleteException; | |
| import mestrado.arquitetura.exceptions.ModelNotFoundException; | |
| import mestrado.arquitetura.exceptions.SMartyProfileNotAppliedToModelExcepetion; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public List<Relationship> getRelationships() { | |
| List<Relationship> relations = new ArrayList<Relationship>(); | |
| for (Relationship relationship : getArchitecture().getAllRelationships()) | |
| if(this.getIdsRelationships().contains(relationship.getId())) | |
| relations.add(relationship); | |
| return relations; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| App = Ember.Application.create(); | |
| App.Store = DS.Store.extend({ | |
| revision: 12, | |
| adapter: 'App.MyCustomAdapter' | |
| }); | |
| App.MyCustomAdapter = DS.RESTAdapter.extend({ | |
| bulkCommit: false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Ember Starter Kit</title> | |
| <link rel="stylesheet" href="css/normalize.css"> | |
| <link rel="stylesheet" href="css/style.css"> | |
| <link rel="stylesheet" href="css/bootstrap.min.css"> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static void copyFile(File sourceFile, File destFile) throws IOException { | |
| if (!sourceFile.exists()) { | |
| return; | |
| } | |
| if (!destFile.exists()) { | |
| destFile.createNewFile(); | |
| } | |
| FileChannel source = new FileInputStream(sourceFile).getChannel(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 80; | |
| server_name blog.local; | |
| rewrite ^/(.*) http://blog.local/$1 permanent; | |
| } | |
| server { | |
| listen 80; | |
| client_max_body_size 2G; | |
| server_name app.com; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@basket:~# cat /opt/nginx/logs/error.log | |
| 2013/04/12 16:25:12 [error] 999#0: *7 open() "/opt/nginx/html/favicon.ico" failed (2: No such file or directory), client: 177.2.142.96, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "198.199.73.5", referrer: "http://198.199.73.5/" | |
| 2013/04/12 16:26:17 [error] 999#0: *8 open() "/opt/nginx/html/favicon.ico" failed (2: No such file or directory), client: 200.203.11.138, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "198.199.73.5" | |
| 2013/04/12 16:28:58 [error] 999#0: *11 open() "/opt/nginx/html/favicon.ico" failed (2: No such file or directory), client: 200.203.11.138, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "198.199.73.5" | |
| 2013/04/12 16:28:59 [error] 999#0: *11 open() "/opt/nginx/html/favicon.ico" failed (2: No such file or directory), client: 200.203.11.138, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "198.199.73.5" | |
| 2013/04/12 17:53:51 [error] 1949#0: *1 open() "/var/www/apps/blog/current/public |