lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
76ea6e213607bf82f8b8215300f709e664e35546
0
jeluard/semantic-versioning,sgothel/semantic-versioning
/** * Copyright 2012-2014 Julien Eluard and contributors * This project includes software developed by Julien Eluard: https://github.com/jeluard/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
api/src/main/java/org/osjava/jardiff/JarDiff.java
/** * Copyright 2012-2014 Julien Eluard and contributors * This project includes software developed by Julien Eluard: https://github.com/jeluard/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
Add superclass handling
api/src/main/java/org/osjava/jardiff/JarDiff.java
Add superclass handling
<ide><path>pi/src/main/java/org/osjava/jardiff/JarDiff.java <ide> if (criteria.validClass(oci) || criteria.validClass(nci)) { <ide> Map oldMethods = oci.getMethodMap(); <ide> Map oldFields = oci.getFieldMap(); <add> Map extOldMethods = new HashMap(oldMethods); ...
JavaScript
mit
f575cdac81b153d3a095f16787f7f049a4deb4df
0
semmypurewal/spotter.js,semmypurewal/spotter.js,semmypurewal/spotter.js
/** * spotter.js * Copyright (C) 2010 Semmy Purewal * * @version .1 * * TODO: modify it so that the modules can better handle timing (big change) * TODO: generate documentation * TODO: create a definite namespace for this library */ spotter = {} /** * Spotter is an object * @class */ Spotter = spotter; /...
src/spotter.js
/** * spotter.js * Copyright (C) 2010 Semmy Purewal * * @version .1 * * TODO: modify it so that the modules can better handle timing (big change) * TODO: generate documentation * TODO: create a definite namespace for this library */ spotter = {} Spotter = spotter; /** * spotterFactory * * Creates a new S...
finally, major refactor has begun
src/spotter.js
finally, major refactor has begun
<ide><path>rc/spotter.js <ide> <ide> spotter = {} <ide> <add>/** <add> * Spotter is an object <add> * @class <add> */ <ide> Spotter = spotter; <ide> <ide> /** <ide> * @constructor <ide> * @param {String} v the name of the variable associated with this Spotter object <ide> */ <del> var _spotter = fu...
Java
mit
72c77641a33e10cbdd5865e8b64321e4686c8061
0
dheerajarora/sql2o,mugizico/sql2o,aaberg/sql2o,xaled/sql2o,indvd00m/sql2o,trfiladelfo/sql2o,minecrafter/sql2o
package org.sql2o.data; import org.joda.time.DateTime; import org.sql2o.Sql2oException; import org.sql2o.converters.*; import java.math.BigDecimal; import java.util.Date; import java.util.HashMap; import java.util.Map; /** * Represents a result set row. */ public class Row { private Map<Integer, Object> v...
src/main/java/org/sql2o/data/Row.java
package org.sql2o.data; import org.joda.time.DateTime; import org.sql2o.Sql2oException; import org.sql2o.converters.*; import java.math.BigDecimal; import java.util.Date; import java.util.HashMap; import java.util.Map; /** * Represents a result set row. */ public class Row { private Map<Integer, Object> v...
fixes try-catch in getString method
src/main/java/org/sql2o/data/Row.java
fixes try-catch in getString method
<ide><path>rc/main/java/org/sql2o/data/Row.java <ide> } <ide> <ide> public String getString(int columnIndex){ <del> return new StringConverter().convert(getObject(columnIndex)); <add> try { <add> return new StringConverter().convert(getObject(columnIndex)); <add> } catch (Co...
Java
mit
0fb979a72f4fbfc37d926e2093e7fccfbcdf8ef7
0
j14solutions/jhybridge,j14solutions/jhybridge,j14solutions/jhybridge,telefonicaid/tdigital-hybridge,telefonicaid/tdigital-hybridge,jorgevila/tdigital-hybridge,telefonicaid/tdigital-hybridge,jorgevila/tdigital-hybridge,telefonicaid/tdigital-hybridge,jorgevila/tdigital-hybridge,jorgevila/tdigital-hybridge,j14solutions/jh...
/** * Hybridge * (c) Telefonica Digital, 2013 - All rights reserved * License: GNU Affero V3 (see LICENSE file) */ package com.pdi.hybridge; import java.util.HashMap; import java.util.Observable; import java.util.Observer; import org.json.JSONArray; import org.json.JSONObject; import android.annotation.Suppress...
android/Hybridge/src/com/pdi/hybridge/HybridgeBroadcaster.java
/** * Hybridge * (c) Telefonica Digital, 2013 - All rights reserved * License: GNU Affero V3 (see LICENSE file) */ package com.pdi.hybridge; import java.util.HashMap; import java.util.Observable; import java.util.Observer; import org.json.JSONArray; import org.json.JSONObject; import android.annotation.Suppress...
EDIT init jsBuffer already as String length 0
android/Hybridge/src/com/pdi/hybridge/HybridgeBroadcaster.java
EDIT init jsBuffer already as String length 0
<ide><path>ndroid/Hybridge/src/com/pdi/hybridge/HybridgeBroadcaster.java <ide> if(jsBuffer.length() != 0) { <ide> prejs = jsBuffer.append(js.toString()).toString(); <ide> runJsInWebView(view, prejs); <del> jsBuffer = new StringBuffer(); <add> ...
Java
apache-2.0
4bb3bafdc7d98ee62a4d9d8ac3662891169d98ba
0
alxdarksage/BridgePF,DwayneJengSage/BridgePF,Sage-Bionetworks/BridgePF,Sage-Bionetworks/BridgePF,DwayneJengSage/BridgePF,Sage-Bionetworks/BridgePF,DwayneJengSage/BridgePF,alxdarksage/BridgePF,alxdarksage/BridgePF
package org.sagebionetworks.bridge.dynamodb; import org.sagebionetworks.bridge.BridgeUtils; import org.sagebionetworks.bridge.json.DateUtils; import org.sagebionetworks.bridge.models.Upload; import org.sagebionetworks.bridge.models.UploadRequest; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute...
app/org/sagebionetworks/bridge/dynamodb/DynamoUpload.java
package org.sagebionetworks.bridge.dynamodb; import java.util.UUID; import org.sagebionetworks.bridge.json.DateUtils; import org.sagebionetworks.bridge.models.Upload; import org.sagebionetworks.bridge.models.UploadRequest; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute; import com.amazonaws....
Fixing build
app/org/sagebionetworks/bridge/dynamodb/DynamoUpload.java
Fixing build
<ide><path>pp/org/sagebionetworks/bridge/dynamodb/DynamoUpload.java <ide> package org.sagebionetworks.bridge.dynamodb; <ide> <del>import java.util.UUID; <del> <add>import org.sagebionetworks.bridge.BridgeUtils; <ide> import org.sagebionetworks.bridge.json.DateUtils; <ide> import org.sagebionetworks.bridge.models.Uploa...
JavaScript
mit
bb59f57dc0db36aad2eb5d85fbe5a4792d330b44
0
futurice/sec-conference-server,futurice/sec-conference-server
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var EventSchema = new Schema({ title: { type: String, default: '' }, start_time: Date, // jshint ignore:line end_time: Date, // jshint ignore:line location: String, description: String, bar_camp: Boolean, day: String, artists: ...
api/models/event.js
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var EventSchema = new Schema({ title: { type: String, default: '' }, start_time: Date, // jshint ignore:line end_time: Date, // jshint ignore:line location: String, description: String, bar_camp: Boolean, artists: [String], sta...
Added field `day` to Event model
api/models/event.js
Added field `day` to Event model
<ide><path>pi/models/event.js <ide> location: String, <ide> description: String, <ide> bar_camp: Boolean, <add> day: String, <ide> artists: [String], <ide> starred_count: Number // jshint ignore:line <ide> });
Java
apache-2.0
a6d15d24258e1310a611324052a6d64e55e2571e
0
HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j
/** * Copyright (c) 2002-2011 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundati...
community/server/src/main/java/org/neo4j/server/Bootstrapper.java
/** * Copyright (c) 2002-2011 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundati...
Added clocks as a dependency to the NeoServerWithEmbeddedWebServer
community/server/src/main/java/org/neo4j/server/Bootstrapper.java
Added clocks as a dependency to the NeoServerWithEmbeddedWebServer
<ide><path>ommunity/server/src/main/java/org/neo4j/server/Bootstrapper.java <ide> import org.neo4j.server.database.GraphDatabaseFactory; <ide> import org.neo4j.server.logging.Logger; <ide> import org.neo4j.server.modules.ServerModule; <add>import org.neo4j.server.rest.paging.RealClock; <ide> import org.neo4j.server.sta...
Java
mit
4798b595e415b7d6e829ca6bfe825c8032f8fdc8
0
vinnyoodles/algorithms,vinnyoodles/algorithms,vinnyoodles/algorithms
/** * @Company Riot Games * * Given a list of kill events where a kill event is defined as [ timestamp, killerId, victimId ]. * Return a list of the users who have the largest killstreak. A killstreak is defined as a sequence * of kills where each kill is no more than 15 units of time from the next kill. * * If...
java/interview/largest-killstreak.java
/** * @Company Riot Games * * Given a list of kill events where a kill event is defined as [ timestamp, killerId, victimId ]. * Return a list of the users who have the largest killstreak. A killstreak is defined as a sequence * of kills where each kill is no more than 15 units of time from the next kill. * * If...
Add solution for largest killstreak
java/interview/largest-killstreak.java
Add solution for largest killstreak
<ide><path>ava/interview/largest-killstreak.java <ide> * of kills where each kill is no more than 15 units of time from the next kill. <ide> * <ide> * If there is a tie of users with the largest killstreak, then return an array of them. <del> * The return format should be a list of all the users with the largest kil...
Java
mit
b48836c6492a69c6b43519a603ab743a1487cb0a
0
AydenSekey/24hDuCode2016
package fr.soprasteria.jeu; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.RenderingHints; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import javax.swing.JComponent; import fr.soprasteria.jeu.moteur.tirlaser.TirLaserControler;...
src/main/java/fr/soprasteria/jeu/PanneauJeuGaming.java
package fr.soprasteria.jeu; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.RenderingHints; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import javax.swing.JComponent; import fr.soprasteria.jeu.moteur.tirlaser.TirLaserControler;...
Correction débordement d'écran.
src/main/java/fr/soprasteria/jeu/PanneauJeuGaming.java
Correction débordement d'écran.
<ide><path>rc/main/java/fr/soprasteria/jeu/PanneauJeuGaming.java <ide> { <ide> Personnage perso = this.grille.getPersonnages().get(persoNumero); <ide> CaseView caseView = (CaseView) this.getGridButton(perso.getX(), perso.getY()); <del> caseView.retirerPersonnage(); <del> CaseView caseViewVoisine = (CaseView) thi...
Java
apache-2.0
716108f1b88a8d76a402fdf7d0231f3beaaffc87
0
idea4bsd/idea4bsd,fengbaicanhe/intellij-community,asedunov/intellij-community,diorcety/intellij-community,kool79/intellij-community,retomerz/intellij-community,diorcety/intellij-community,izonder/intellij-community,salguarnieri/intellij-community,fnouama/intellij-community,ThiagoGarciaAlves/intellij-community,samthor/i...
package com.intellij.codeInsight.javadoc; import com.intellij.codeInsight.CodeInsightBundle; import com.intellij.codeInsight.TargetElementUtil; import com.intellij.codeInsight.hint.HintManager; import com.intellij.codeInsight.hint.ParameterInfoController; import com.intellij.codeInsight.lookup.Lookup; import com.intel...
codeInsight/impl/com/intellij/codeInsight/javadoc/JavaDocManager.java
package com.intellij.codeInsight.javadoc; import com.intellij.codeInsight.CodeInsightBundle; import com.intellij.codeInsight.TargetElementUtil; import com.intellij.codeInsight.hint.HintManager; import com.intellij.codeInsight.hint.ParameterInfoController; import com.intellij.codeInsight.lookup.Lookup; import com.intel...
revert raw types for javadoc urls (external javadocs compatibility)
codeInsight/impl/com/intellij/codeInsight/javadoc/JavaDocManager.java
revert raw types for javadoc urls (external javadocs compatibility)
<ide><path>odeInsight/impl/com/intellij/codeInsight/javadoc/JavaDocManager.java <ide> String signature = PsiFormatUtil.formatMethod(method, <ide> PsiSubstitutor.EMPTY, PsiFormatUtil.SHOW_NAME | <ide> ...
Java
mit
985794863c580a08aecbfa30ff7334235abc255c
0
seqcode/seqcode-core,seqcode/seqcode-core,seqcode/seqcode-core,seqcode/seqcode-core
package org.seqcode.projects.galaxyexo; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.seqcode.data.io.RegionFileUtilities; import org.seqcode.deepseq.experiments.ExperimentManager; import org.seqcode.deepseq.experiments.ExptConfig; import org.seqcode.deepseq.experiments.Sample...
src/org/seqcode/projects/galaxyexo/RegionCountSorter.java
package org.seqcode.projects.galaxyexo; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.seqcode.data.io.RegionFileUtilities; import org.seqcode.deepseq.experiments.ExperimentManager; import org.seqcode.deepseq.experiments.ExptConfig; import org.seqcode.deepseq.experiments.Sample...
Minor bug fixes.
src/org/seqcode/projects/galaxyexo/RegionCountSorter.java
Minor bug fixes.
<ide><path>rc/org/seqcode/projects/galaxyexo/RegionCountSorter.java <ide> public StrandedRegion getStrandedRegion(){return sreg;} <ide> <ide> public int compareTo(RegionCounts regcounts){ <del> float compareVal = regcounts.count; <del> if (compareVal > this.count){ <del> return 1; <del> }else{ <del> ...
Java
apache-2.0
173550aa000ebee18aa701f49960b5b5bbf7b1ff
0
akashche/disl-mirror,akashche/disl-mirror,akashche/disl-mirror,akashche/disl-mirror
package ch.usi.dag.disl.weaver.pe; import java.util.List; import org.objectweb.asm.Opcodes; import org.objectweb.asm.Type; import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.FieldInsnNode; import org.objectweb.asm.tree.IincInsnNode; import org.objectweb.asm.tree.IntInsnNode; import org.obje...
src/ch/usi/dag/disl/weaver/pe/ConstInterpreter.java
package ch.usi.dag.disl.weaver.pe; import java.util.List; import org.objectweb.asm.Opcodes; import org.objectweb.asm.Type; import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.FieldInsnNode; import org.objectweb.asm.tree.IincInsnNode; import org.objectweb.asm.tree.IntInsnNode; import org.obje...
BugFixed: bipush and sipush pushes 1-byte operand onto stack. git-svn-id: 9828a123601097aec97c9db06897c34ab9021696@335 f1b219a8-1381-427d-9730-7f2851dc2a88
src/ch/usi/dag/disl/weaver/pe/ConstInterpreter.java
BugFixed: bipush and sipush pushes 1-byte operand onto stack.
<ide><path>rc/ch/usi/dag/disl/weaver/pe/ConstInterpreter.java <ide> <ide> return new ConstValue(type == null ? 1 : type.getSize()); <ide> } <del> <del> /* <del> * ACONST_NULL, ICONST_M1, ICONST_0, ICONST_1, ICONST_2, ICONST_3, ICONST_4, <del> * ICONST_5, LCONST_0, LCONST_1, FCONST_0, FCONST_1, FCONST_2, DCONST_0,...
Java
mit
3161faa52f86549c14d6191be3cbb40704fcd7a5
0
CS2103AUG2016-W10-C1/main,CS2103AUG2016-W10-C1/TaskMan
package seedu.taskman.logic.logicmanager; import org.junit.Test; import seedu.taskman.model.TaskMan; import seedu.taskman.model.event.Activity; import seedu.taskman.model.event.Task; import java.util.List; import static org.junit.Assert.assertEquals; public class SelectTests extends LogicManagerTestBase { @Tes...
src/test/java/seedu/taskman/logic/logicmanager/SelectTests.java
package seedu.taskman.logic.logicmanager; import seedu.taskman.model.TaskMan; import seedu.taskman.model.event.Activity; import seedu.taskman.model.event.Task; import java.util.List; import static org.junit.Assert.assertEquals; public class SelectTests extends LogicManagerTestBase { //@Test public void exe...
Enabled select tests
src/test/java/seedu/taskman/logic/logicmanager/SelectTests.java
Enabled select tests
<ide><path>rc/test/java/seedu/taskman/logic/logicmanager/SelectTests.java <ide> package seedu.taskman.logic.logicmanager; <ide> <add>import org.junit.Test; <ide> import seedu.taskman.model.TaskMan; <ide> import seedu.taskman.model.event.Activity; <ide> import seedu.taskman.model.event.Task; <ide> <ide> public class S...
Java
apache-2.0
c4add2b07d1b5e5d6f3d45af055d7f6a44ba63f0
0
fincatto/nfe,eldevanjr/nfe,danieldhp/nfe,isaiastavares/nfe,granella/nfe,fauker/nfe,caiocteodoro/nfe,klutzer/nfe,jefperito/nfe,wmixvideo/nfe
package com.fincatto.nfe310.classes; /** * URls qrCode: http://nfce.encat.org/desenvolvedor/qrcode/ **/ public enum NFUnidadeFederativa { AC("AC", "Acre", "12", "http://hml.sefaznet.ac.gov.br/nfce/qrcode", "http://hml.sefaznet.ac.gov.br/nfce/qrcode"), AL("AL", "Alagoas", "27"), AP("AP", "Amap\u00E1", "1...
src/main/java/com/fincatto/nfe310/classes/NFUnidadeFederativa.java
package com.fincatto.nfe310.classes; /** * URls qrCode: http://nfce.encat.org/desenvolvedor/qrcode/ **/ public enum NFUnidadeFederativa { AC("AC", "Acre", "12", "http://hml.sefaznet.ac.gov.br/nfce/qrcode", "http://hml.sefaznet.ac.gov.br/nfce/qrcode"), AL("AL", "Alagoas", "27"), AP("AP", "Amap\u00E1", "1...
URLs consulta QRCode - Goiás
src/main/java/com/fincatto/nfe310/classes/NFUnidadeFederativa.java
URLs consulta QRCode - Goiás
<ide><path>rc/main/java/com/fincatto/nfe310/classes/NFUnidadeFederativa.java <ide> BA("BA", "Bahia", "29", "http://hnfe.sefaz.ba.gov.br/servicos/nfce/modulos/geral/NFCEC_consulta_chave_acesso.aspx", "http://nfe.sefaz.ba.gov.br/servicos/nfce/modulos/geral/NFCEC_consulta_chave_acesso.aspx"), <ide> CE("CE", "Cear\...
Java
apache-2.0
ef85d22ec35702ebd9e7ea4298d493a8e686d97d
0
apache/sis,apache/sis,apache/sis
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
core/sis-utility/src/test/java/org/apache/sis/test/AnnotationsTestCase.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Temporarily relax some tests because of changs in GeoAPI 4.0-SNAPSHOT. They are corrections in the upgrade to ISO 19115:2014. Those corrections are reflected in the SIS ISO_19115-3 branch, to be merged later. git-svn-id: bd781a9493159d57baabeab2b59de614917f0f5c@1823739 13f79535-47bb-0310-9956-ffa450edef68
core/sis-utility/src/test/java/org/apache/sis/test/AnnotationsTestCase.java
Temporarily relax some tests because of changs in GeoAPI 4.0-SNAPSHOT. They are corrections in the upgrade to ISO 19115:2014. Those corrections are reflected in the SIS ISO_19115-3 branch, to be merged later.
<ide><path>ore/sis-utility/src/test/java/org/apache/sis/test/AnnotationsTestCase.java <ide> switch (specification) { <ide> case ISO_19115: return Namespaces.GMD; <ide> case ISO_19115_2: return Namespaces.GMI; <add> case ISO_19115_3: <ide> case ISO_19139: return...
JavaScript
mit
bf3a1206e0989b9eebee1eed732d6608f6f4b816
0
Fer0x/Backbone.Safe,Fer0x/Backbone.Safe,orizens/Backbone.Safe
/** * Safe - support for storing Backbone.Model to localstorage * using the 'set' method of Model * * @constructor - use the key 'safe' to define unique storage key for backbone safe * * examples: * * // simple defintion for safe * Backbone.Model.extend({ key: 'my-unique-key' }); * * // a...
backbone.safe.js
/** * Safe - support for storing Backbone.Model to localstorage * using the 'set' method of Model * * @constructor - use the key 'safe' to define unique storage key for backbone safe * * examples: * * // simple defintion for safe * Backbone.Model.extend({ key: 'my-unique-key' }); * * // a...
closed #5 thanks @codelance
backbone.safe.js
closed #5
<ide><path>ackbone.safe.js <ide> <ide> // removes the key from teh localstorage <ide> destroy: function() { <del> this.storage().removeItem( this.uniqueID ); <add> this.storage().removeItem( this.uid ); <ide> } <ide> }; <ide>
Java
apache-2.0
f8b8055e0d26078627ba53d70bcaf8b328d3b1b1
0
mmanski/sling,klcodanr/sling,tyge68/sling,cleliameneghin/sling,roele/sling,tmaret/sling,dulvac/sling,nleite/sling,roele/sling,Sivaramvt/sling,mmanski/sling,ist-dresden/sling,ist-dresden/sling,klcodanr/sling,cleliameneghin/sling,Nimco/sling,tmaret/sling,plutext/sling,dulvac/sling,nleite/sling,tyge68/sling,roele/sling,ie...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may...
bundles/extensions/healthcheck/webconsole/src/main/java/org/apache/sling/hc/webconsole/impl/HealthCheckWebconsolePlugin.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may...
Correct typo in description git-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1660607 13f79535-47bb-0310-9956-ffa450edef68
bundles/extensions/healthcheck/webconsole/src/main/java/org/apache/sling/hc/webconsole/impl/HealthCheckWebconsolePlugin.java
Correct typo in description
<ide><path>undles/extensions/healthcheck/webconsole/src/main/java/org/apache/sling/hc/webconsole/impl/HealthCheckWebconsolePlugin.java <ide> @Service(Servlet.class) <ide> @SuppressWarnings("serial") <ide> @Properties({ <del> @Property(name=org.osgi.framework.Constants.SERVICE_DESCRIPTION, value="Sling Health Check W...
Java
lgpl-2.1
9d1b19b92bb1877f5a3ad2fe096725667a85ddbb
0
languagetool-org/languagetool,jimregan/languagetool,jimregan/languagetool,jimregan/languagetool,jimregan/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,jimregan/languagetool
/* LanguageTool, a natural language style checker * Copyright (C) 2007 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
languagetool-language-modules/gl/src/main/java/org/languagetool/language/Galician.java
/* LanguageTool, a natural language style checker * Copyright (C) 2007 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
[gl] add rule priorities
languagetool-language-modules/gl/src/main/java/org/languagetool/language/Galician.java
[gl] add rule priorities
<ide><path>anguagetool-language-modules/gl/src/main/java/org/languagetool/language/Galician.java <ide> // case "FINAL_STOPS": return -75; <ide> // case "T-V_DISTINCTION": return -100; <ide> // case "T-V_DISTINCTION_ALL": return -101; <del> // case "REPEATED_WORDS": ...
JavaScript
mit
43dcbd4d6890c9c86245e7d4ce14980970198652
0
marian42/fishtank,marian42/fishtank,marian42/fishtank
var CONTAINERS = 27; var containerEditor = new Object(); var feeder = new Feeder(CONTAINERS); var feederView = new FeederView(feeder, "svgcontainers", "containerprototype", "indicator", 'target'); var serverStatus = new Status(); var logView = new LogView(); var eventView = new EventView(); var imageView = new ImageV...
js/fishtank.js
var CONTAINERS = 27; var containerEditor = new Object(); var feeder = new Feeder(CONTAINERS); var feederView = new FeederView(feeder, "svgcontainers", "containerprototype", "indicator", 'target'); var serverStatus = new Status(); var logView = new LogView(); var eventView = new EventView(); var imageView = new ImageV...
Remove absolute server address
js/fishtank.js
Remove absolute server address
<ide><path>s/fishtank.js <ide> containers += i + ','; <ide> $.ajax({ <ide> type: "POST", <del> url: network.server + 'api/updatecontainers', <add> url: 'api/updatecontainers', <ide> data: "containers=" + containers + "&food=" + containerEditor.food + "&amount=" + containerEditor.amount + "&priority=" + cont...
Java
apache-2.0
29ea21902d7b85a960f27c26ead61909803fd315
0
argv-minus-one/fop,StrategyObject/fop,argv-minus-one/fop,argv-minus-one/fop,StrategyObject/fop,argv-minus-one/fop,StrategyObject/fop,StrategyObject/fop,StrategyObject/fop,argv-minus-one/fop
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Fix checkstyle git-svn-id: 102839466c3b40dd9c7e25c0a1a6d26afc40150a@1619419 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java
Fix checkstyle
<ide><path>rc/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java <ide> public StructureTreeElement startNode(String name, Attributes attributes, StructureTreeElement parent) { <ide> if (!isPDFA1Safe(name)) { <ide> return null; <del> } <del> assert parent == null || parent instanceof P...
Java
epl-1.0
6e03009883582c26a01d7ce5dbf340aaa365b909
0
rohitmohan96/ceylon-ide-eclipse,rohitmohan96/ceylon-ide-eclipse
package com.redhat.ceylon.eclipse.core.builder; import static com.redhat.ceylon.eclipse.util.Nodes.getIdentifyingNode; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.Writer; import java.net.URI; import java.net.URISyntaxException; import java...
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/core/builder/CeylonCompilationError.java
package com.redhat.ceylon.eclipse.core.builder; import static com.redhat.ceylon.eclipse.util.Nodes.getIdentifyingNode; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.Writer; import java.net.URI; import java.net.URISyntaxException; import java...
fix error span for JS backend error
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/core/builder/CeylonCompilationError.java
fix error span for JS backend error
<ide><path>lugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/core/builder/CeylonCompilationError.java <ide> if (token!=null) { <ide> endOffset = errorNode.getEndIndex(); <ide> } <del> return endOffset; <add> return endOffset - 1; <ide> } <ide> <ide> @Ov...
Java
apache-2.0
4d6dee362a9ea772352fa988eba70bd2f89876f9
0
binfalse/incubator-taverna-language,taverna-incubator/incubator-taverna-language,binfalse/incubator-taverna-language,taverna-incubator/incubator-taverna-language,taverna-incubator/incubator-taverna-language,binfalse/incubator-taverna-language,binfalse/incubator-taverna-language,taverna-incubator/incubator-taverna-langu...
package uk.org.taverna.scufl2.api.core; import java.net.URI; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.GregorianCalendar; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.TreeSet; import java.util.UUID; ...
scufl2-api/src/main/java/uk/org/taverna/scufl2/api/core/Workflow.java
package uk.org.taverna.scufl2.api.core; import java.net.URI; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.GregorianCalendar; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.TreeSet; import java.util.UUID; ...
Double-check for null revision (as DummyWorkflow in scufl2-validation-correctness does that)
scufl2-api/src/main/java/uk/org/taverna/scufl2/api/core/Workflow.java
Double-check for null revision
<ide><path>cufl2-api/src/main/java/uk/org/taverna/scufl2/api/core/Workflow.java <ide> private WorkflowBundle parent; <ide> private Revision currentRevision; <ide> <del> public Revision getCurrentRevision() { <del> return currentRevision; <del> } <del> <del> public void setCurrentRevision(Revision currentRevision) {...
JavaScript
mit
2829935c518c40cadc32c907c7389096dc8362cd
0
lewishenson/Formula1Standings,lewishenson/Formula1Standings
'use strict'; angular.module('F1FeederApp', [ 'F1FeederApp.controllers', 'F1FeederApp.services' ]); angular.module('F1FeederApp.controllers', []).controller('driversController', function($scope, ergastAPIservice) { $scope.driversList = []; ergastAPIservice.getDrivers().success(function (response) { ...
app/app.js
'use strict'; angular.module('F1FeederApp', [ 'F1FeederApp.controllers' ]); angular.module('F1FeederApp.controllers', []).controller('driversController', function($scope) { $scope.driversList = [ { Driver: { givenName: 'Sebastian', familyName: 'Vettel' }, ...
Show dynamic list of drivers
app/app.js
Show dynamic list of drivers
<ide><path>pp/app.js <ide> 'use strict'; <ide> <ide> angular.module('F1FeederApp', [ <del> 'F1FeederApp.controllers' <add> 'F1FeederApp.controllers', <add> 'F1FeederApp.services' <ide> ]); <ide> <del>angular.module('F1FeederApp.controllers', []).controller('driversController', function($scope) { <del> $scope.dr...
Java
bsd-3-clause
be46ca8a8ccae949917678cd52125974ae064479
0
VulcanRobotics/Veer
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ //test change package Subsystem.Swerve; import edu.wpi.first.wpilibj.PIDController; import edu.wpi.first.wpilibj.Talon; /** * * @a...
src/Subsystem/Swerve/O_TurningMotor.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ //test change package Subsystem.Swerve; import edu.wpi.first.wpilibj.PIDController; import edu.wpi.first.wpilibj.Talon; /** * * @a...
set max speed low for testing made kp 1
src/Subsystem/Swerve/O_TurningMotor.java
set max speed low for testing made kp 1
<ide><path>rc/Subsystem/Swerve/O_TurningMotor.java <ide> */ <ide> public class O_TurningMotor { <ide> <del> private static final double Kp = 0.0; <add> private static final double Kp = 1.0; <ide> private static final double Ki = 0.0; <ide> private static final double Kd = 0.0; <ide> <ide> <ide> ...
JavaScript
mit
11f861e127a418ec59106c8d7fe7431d992c4a4d
0
geoportallux/geoportailv3-gisgr,geoportallux/geoportailv3-gisgr,Geoportail-Luxembourg/geoportailv3,geoportallux/geoportailv3-gisgr,Geoportail-Luxembourg/geoportailv3,geoportallux/geoportailv3-gisgr,Geoportail-Luxembourg/geoportailv3,Geoportail-Luxembourg/geoportailv3,Geoportail-Luxembourg/geoportailv3
/** * @fileoverview This file provides a print directive. This directive is used * to create a print form panel in the page. * * Example: * * <app-print app-print-map="::mainCtrl.map" * app-print-open="mainCtrl.printOpen" * app-print-layers="mainCtrl.selectedLayers"> * </app-print> */ go...
geoportailv3/static/js/print/printdirective.js
/** * @fileoverview This file provides a print directive. This directive is used * to create a print form panel in the page. * * Example: * * <app-print app-print-map="::mainCtrl.map" * app-print-open="mainCtrl.printOpen" * app-print-layers="mainCtrl.selectedLayers"> * </app-print> */ go...
Adjust map size with new layout order
geoportailv3/static/js/print/printdirective.js
Adjust map size with new layout order
<ide><path>eoportailv3/static/js/print/printdirective.js <ide> */ <ide> app.PrintController.MAP_SIZES_ = [ <ide> // A4 portrait and landscape <del> [470, 650], [715, 395], <add> [715, 395], [470, 650], <ide> // A3 portrait and landscape <del> [715, 975], [1065, 640], <add> [1065, 640], [715, 975], <ide> // A...
Java
mit
b47f03dc3e8844aa5366e39d5a7f71bdd74d8c50
0
axboot/ax-boot-framework,axboot/ax-boot-framework,axboot/ax-boot-framework,axboot/ax-boot-framework,axboot/ax-boot-framework,axboot/ax-boot-framework
package com.chequer.axboot.admin; import com.chequer.axboot.core.parameter.RequestParams; import com.mangofactory.swagger.configuration.SpringSwaggerConfig; import com.mangofactory.swagger.models.dto.ApiInfo; import com.mangofactory.swagger.plugin.EnableSwagger; import com.mangofactory.swagger.plugin.SwaggerSpringMvcP...
ax-boot-admin/src/main/java/com/chequer/axboot/admin/AXBootSwaggerConfig.java
package com.chequer.axboot.admin; import com.chequer.axboot.core.parameter.RequestParams; import com.mangofactory.swagger.configuration.SpringSwaggerConfig; import com.mangofactory.swagger.models.dto.ApiInfo; import com.mangofactory.swagger.plugin.EnableSwagger; import com.mangofactory.swagger.plugin.SwaggerSpringMvcP...
Swagger Update
ax-boot-admin/src/main/java/com/chequer/axboot/admin/AXBootSwaggerConfig.java
Swagger Update
<ide><path>x-boot-admin/src/main/java/com/chequer/axboot/admin/AXBootSwaggerConfig.java <ide> @Bean <ide> public SwaggerSpringMvcPlugin customImplementation() { <ide> return new SwaggerSpringMvcPlugin(this.springSwaggerConfig) <del> .apiInfo(new ApiInfo("API", "API", "", "", "", "")) <add...
Java
mit
664bab193127468d03942e2899f644b55099a5e4
0
kasperisager/kelvin-maps,kasperisager/kelvin-maps
/** * Copyright (C) 2015 The Authors. */ package dk.itu.kelvin.controller; // JavaFX utilities import javafx.scene.input.*; import javafx.util.Duration; // JavaFX application utilities import javafx.application.Platform; // JavaFX scene utilities import javafx.geometry.Pos; // JavaFX events import javafx.event.Ev...
src/main/java/dk/itu/kelvin/controller/ChartController.java
/** * Copyright (C) 2015 The Authors. */ package dk.itu.kelvin.controller; // JavaFX utilities import javafx.util.Duration; // JavaFX application utilities import javafx.application.Platform; // JavaFX scene utilities import javafx.geometry.Pos; // JavaFX layout import javafx.scene.layout.GridPane; import javafx....
Catching keyevent on the suggestion popover but counter will not increase.
src/main/java/dk/itu/kelvin/controller/ChartController.java
Catching keyevent on the suggestion popover but counter will not increase.
<ide><path>rc/main/java/dk/itu/kelvin/controller/ChartController.java <ide> package dk.itu.kelvin.controller; <ide> <ide> // JavaFX utilities <add>import javafx.scene.input.*; <ide> import javafx.util.Duration; <ide> <ide> // JavaFX application utilities <ide> <ide> // JavaFX scene utilities <ide> import javafx.geom...
JavaScript
mit
339ad9e45347e95efcb45644be04a641634d2405
0
fusioncharts/redraphael,fusioncharts/redraphael,fusioncharts/redraphael
/**! * RedRaphael 1.0.0 - JavaScript Vector Library * Copyright (c) 2012-2013 FusionCharts Technologies <http://www.fusioncharts.com> * * Raphael 2.1.0 * Copyright (c) 2008-2012 Dmitry Baranovskiy <http://raphaeljs.com> * Copyright © 2008-2012 Sencha Labs <http://sencha.com> * * Licensed under the MIT license. ...
source/raphael.core.js
/**! * RedRaphael 1.0.0 - JavaScript Vector Library * Copyright (c) 2012-2013 FusionCharts Technologies <http://www.fusioncharts.com> * * Raphael 2.1.0 * Copyright (c) 2008-2012 Dmitry Baranovskiy <http://raphaeljs.com> * Copyright © 2008-2012 Sencha Labs <http://sencha.com> * * Licensed under the MIT license. ...
RED-7444: removed R.setWindow
source/raphael.core.js
RED-7444: removed R.setWindow
<ide><path>ource/raphael.core.js <ide> \*/ <ide> R.deg = function (rad) { <ide> return rad * rad2deg % 360; <del> }; <del> <del> /*\ <del> * Raphael.setWindow <del> [ method ] <del> ** <del> * Used when you need to draw in `&lt;iframe>`. Switched window to the iframe one. <del> ...
Java
apache-2.0
efe4f5820b8450e62961f6aa4f06a9a0cbcc60cf
0
Sanne/jboss-modules,doctau/jboss-modules,ctomc/jboss-modules,jboss-modules/jboss-modules,jasinner/jboss-modules,rogerchina/jboss-modules,Kast0rTr0y/jboss-modules,ropalka/jboss-modules
/* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
src/main/java/org/jboss/modules/ConcurrentClassLoader.java
/* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
More innocuous name; also, when lockless is used, do not trigger creation of the CL thread
src/main/java/org/jboss/modules/ConcurrentClassLoader.java
More innocuous name; also, when lockless is used, do not trigger creation of the CL thread
<ide><path>rc/main/java/org/jboss/modules/ConcurrentClassLoader.java <ide> */ <ide> public abstract class ConcurrentClassLoader extends SecureClassLoader { <ide> <del> private static final boolean UNSAFE_LOCKS; <add> private static final boolean LOCKLESS; <ide> <ide> static { <del> UNSAFE_LOCKS = Bo...
Java
apache-2.0
b8089469536bc1369f07950d785a03b8c47b303e
0
kuali/kc-rice,ewestfal/rice-svn2git-test,sonamuthu/rice-1,smith750/rice,geothomasp/kualico-rice-kc,shahess/rice,cniesen/rice,geothomasp/kualico-rice-kc,gathreya/rice-kc,shahess/rice,UniversityOfHawaiiORS/rice,smith750/rice,jwillia/kc-rice1,ewestfal/rice,bhutchinson/rice,cniesen/rice,bhutchinson/rice,geothomasp/kualico-...
/* * Copyright 2005-2007 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless r...
impl/src/main/java/org/kuali/rice/kns/datadictionary/MaintenanceDocumentEntry.java
/* * Copyright 2005-2007 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless r...
// fix for issue KULRice 3072
impl/src/main/java/org/kuali/rice/kns/datadictionary/MaintenanceDocumentEntry.java
// fix for issue KULRice 3072
<ide><path>mpl/src/main/java/org/kuali/rice/kns/datadictionary/MaintenanceDocumentEntry.java <ide> <ide> protected boolean allowsNewOrCopy = true; <ide> protected String additionalSectionsFile; <del> <del> public MaintenanceDocumentEntry() { <add> <add> //for issue KULRice3072, to enable PK field...
Java
apache-2.0
cbf2276dba9aabd5abc72f4dff2db7af0d0350a8
0
speedment/speedment,speedment/speedment
/* * * Copyright (c) 2006-2019, Speedment, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); You may not * use this file except in compliance with the License. You may obtain a copy of * the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
common-parent/injector/src/main/java/com/speedment/common/injector/internal/util/ReflectionUtil.java
/* * * Copyright (c) 2006-2019, Speedment, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); You may not * use this file except in compliance with the License. You may obtain a copy of * the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
injector: Improve error logging
common-parent/injector/src/main/java/com/speedment/common/injector/internal/util/ReflectionUtil.java
injector: Improve error logging
<ide><path>ommon-parent/injector/src/main/java/com/speedment/common/injector/internal/util/ReflectionUtil.java <ide> import com.speedment.common.injector.exception.InjectorException; <ide> <ide> import java.io.File; <del>import java.lang.reflect.Constructor; <del>import java.lang.reflect.Executable; <del>import java.l...
Java
apache-2.0
fb65229f8d9e86b89a38d8b449b66b654a2e2a91
0
mpouttuclarke/cdap,anthcp/cdap,anthcp/cdap,caskdata/cdap,chtyim/cdap,hsaputra/cdap,caskdata/cdap,mpouttuclarke/cdap,hsaputra/cdap,chtyim/cdap,hsaputra/cdap,caskdata/cdap,hsaputra/cdap,caskdata/cdap,chtyim/cdap,mpouttuclarke/cdap,anthcp/cdap,mpouttuclarke/cdap,caskdata/cdap,anthcp/cdap,hsaputra/cdap,chtyim/cdap,chtyim/c...
package com.continuuity.logging.appender; import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.core.status.OnConsoleStatusListener; import ch.qos.logback.core.status.StatusManager; import com.google.inject.Inject; import org.slf4j.ILoggerFactory; import org.slf4j.Log...
watchdog/src/main/java/com/continuuity/logging/appender/LogAppenderInitializer.java
package com.continuuity.logging.appender; import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.core.status.OnConsoleStatusListener; import ch.qos.logback.core.status.StatusManager; import com.google.inject.Inject; import org.slf4j.ILoggerFactory; import org.slf4j.Log...
Making sure that Log Appender gets initialized only once.
watchdog/src/main/java/com/continuuity/logging/appender/LogAppenderInitializer.java
Making sure that Log Appender gets initialized only once.
<ide><path>atchdog/src/main/java/com/continuuity/logging/appender/LogAppenderInitializer.java <ide> import org.slf4j.ILoggerFactory; <ide> import org.slf4j.LoggerFactory; <ide> <add>import java.util.concurrent.atomic.AtomicBoolean; <add> <ide> /** <ide> * Creates and sets the logback log appender. <ide> */ <ide> pub...
Java
agpl-3.0
ad754f55996e44df9c50b7bf89b990a8d1cc5e53
0
jaytaylor/sql-layer,relateiq/sql-layer,shunwang/sql-layer-1,wfxiang08/sql-layer-1,relateiq/sql-layer,jaytaylor/sql-layer,qiuyesuifeng/sql-layer,ngaut/sql-layer,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,wfxiang08/sql-layer-1,shunwang/sql-layer-1,qiuyesuifeng/sql-layer,qiuyesuifeng/sql-layer,shunwang/sql-layer-1,ngaut...
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Thi...
src/test/java/com/foundationdb/sql/pg/PostgresServerBloomFilterIT.java
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Thi...
Testing output for correctness added simple test to make sure output is correct
src/test/java/com/foundationdb/sql/pg/PostgresServerBloomFilterIT.java
Testing output for correctness
<ide><path>rc/test/java/com/foundationdb/sql/pg/PostgresServerBloomFilterIT.java <ide> @Test <ide> public void test() throws Exception { <ide> Statement statement = connection.createStatement(); <del> ResultSet rs = statement.executeQuery("EXPLAIN " + SQL); <add> ResultSet planRS = statem...
Java
apache-2.0
38f4277cb8a23a816d12a24ee785999d1e62fa21
0
rwl/requestfactory-addon
package org.springframework.roo.support.util; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.io.Writer; import java.util.ArrayList; import java.util.HashMap; im...
support/src/main/java/org/springframework/roo/support/util/XmlUtils.java
package org.springframework.roo.support.util; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.io.Writer; import java.util.ArrayList; import java.util.HashMap; im...
ROO-2360: Enhance the comparability of pom related elements - remove temporary method
support/src/main/java/org/springframework/roo/support/util/XmlUtils.java
ROO-2360: Enhance the comparability of pom related elements - remove temporary method
<ide><path>upport/src/main/java/org/springframework/roo/support/util/XmlUtils.java <ide> import org.w3c.dom.DOMImplementation; <ide> import org.w3c.dom.Document; <ide> import org.w3c.dom.Element; <del>import org.w3c.dom.NamedNodeMap; <ide> import org.w3c.dom.Node; <ide> import org.w3c.dom.NodeList; <ide> import org.w3c...
Java
mit
76c25528073e0dbea8d87ec9e948f09cd31b31af
0
weisJ/darklaf,weisJ/darklaf,weisJ/darklaf,weisJ/darklaf
/* * MIT License * * Copyright (c) 2020 Jannis Weis * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modi...
windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java
/* * MIT License * * Copyright (c) 2020 Jannis Weis * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modi...
Fixed window popupmenu using wrong separator on windows.
windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java
Fixed window popupmenu using wrong separator on windows.
<ide><path>indows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java <ide> setDisabledIcon(maximizeIcon); <ide> }}); <ide> } <del> menu.add(new JSeparator()); <add> menu.addSeparator(); <ide> menu.add(new JMenuItem(closeAction) {{ <...
Java
agpl-3.0
194dfef38494d40ca551c69cdfe1877b2a0f4ea7
0
rakam-io/rakam,buremba/rakam,buremba/rakam,rakam-io/rakam,buremba/rakam,rakam-io/rakam,buremba/rakam,buremba/rakam
package org.rakam.aws; import com.amazonaws.services.kinesis.AmazonKinesisClient; import com.amazonaws.services.kinesis.model.PutRecordsRequest; import com.amazonaws.services.kinesis.model.PutRecordsRequestEntry; import com.amazonaws.services.kinesis.model.PutRecordsResult; import com.amazonaws.services.kinesis.model....
rakam-aws-kinesis/src/main/java/org/rakam/aws/AWSKinesisEventStore.java
package org.rakam.aws; import com.amazonaws.services.kinesis.AmazonKinesisClient; import com.amazonaws.services.kinesis.model.PutRecordsRequest; import com.amazonaws.services.kinesis.model.PutRecordsRequestEntry; import com.amazonaws.services.kinesis.model.PutRecordsResult; import com.amazonaws.services.kinesis.model....
use created_at column for offset mechanism
rakam-aws-kinesis/src/main/java/org/rakam/aws/AWSKinesisEventStore.java
use created_at column for offset mechanism
<ide><path>akam-aws-kinesis/src/main/java/org/rakam/aws/AWSKinesisEventStore.java <ide> import java.sql.Connection; <ide> import java.sql.SQLException; <ide> import java.time.Instant; <del>import java.time.ZoneOffset; <ide> import java.util.ArrayList; <ide> import java.util.HashMap; <ide> import java.util.List; <ide> i...
Java
mit
044ecc51e532bf28149bcef6f9feff5c4e9c9446
0
github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql
package generatedtest; import java.util.Map; import java.util.ResourceBundle; import java.util.SortedMap; import java.util.TreeMap; import java.util.Vector; import org.apache.commons.collections4.Factory; import org.apache.commons.collections4.IterableMap; import org.apache.commons.collections4.IterableSortedMap; impo...
java/ql/test/library-tests/frameworks/apache-collections/Test.java
package generatedtest; import java.util.Map; import java.util.ResourceBundle; import java.util.SortedMap; import java.util.TreeMap; import java.util.Vector; import org.apache.commons.collections4.Factory; import org.apache.commons.collections4.IterableMap; import org.apache.commons.collections4.IterableSortedMap; impo...
Manually improve tests #2
java/ql/test/library-tests/frameworks/apache-collections/Test.java
Manually improve tests #2
<ide><path>ava/ql/test/library-tests/frameworks/apache-collections/Test.java <ide> static Object getMapValue(Map container) { return container.get(null); } <ide> <ide> Object[] newWithArrayElement(Object element) { return new Object[] {element}; } <del> Object newWithElement(Object element) { Vector<String> v = new ...
Java
epl-1.0
04dc55a86b195178705e37f993cc0eef9228f452
0
sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dnd/InsertInLayoutUtil.java
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
- Summary:When insert a attribute result column,add the group binding to the table. - Bugzilla Bug (s) Resolved: - Description: - Tests Description : Manual test - Files Edited: - Files Added: - Files Deleted: - Notes to Build Team: - Notes to Developers: - Notes to QA: - Notes to...
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dnd/InsertInLayoutUtil.java
- Summary:When insert a attribute result column,add the group binding to the table.
<ide><path>I/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dnd/InsertInLayoutUtil.java <ide> bindingColumn.setDisplayNameID( displayKey ); <ide> tableHandle.addColumnBinding( bindingColumn, false ); <ide> dataHandle.setResultSetColumn( model.getColumnName(...
Java
apache-2.0
31677920e517f6c3c5b1e8ce5d90b9571d646571
0
pizcogirl/gdx-ai,zgpxgame/gdx-ai,lanen/gdx-ai,atomixnmc/gdx-ai,kishorpv/gdx-ai,domokato/gdx-ai,printedheart/gdx-ai,libgdx/gdx-ai,piotr-j/gdx-ai,atomixnmc/gdx-ai,atomixnmc/gdx-ai
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
gdx-ai/src/com/badlogic/gdx/ai/steer/paths/LinePath.java
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
Changed check for LinePaths, since a path needs to consist of at least two waypoints to work
gdx-ai/src/com/badlogic/gdx/ai/steer/paths/LinePath.java
Changed check for LinePaths, since a path needs to consist of at least two waypoints to work
<ide><path>dx-ai/src/com/badlogic/gdx/ai/steer/paths/LinePath.java <ide> <ide> /** Creates a closed {@code LinePath} for the specified {@code waypoints}. <ide> * @param waypoints the points making up the path <del> * @throws IllegalArgumentException if {@code waypoints} is {@code null} or empty. */ <add> * @throw...
JavaScript
agpl-3.0
d5528156e7a71235ae136719a3240da5728c7561
0
floraXiao/gooderp_addons,OpenERPJeff/gooderp_addons,floraXiao/gooderp_addons,gilbert-yuan/gooderp_addons,Judystudy/gooderp_addons,GoodERPJeff/gooderp_addons,GoodERPJeff/gooderp_addons,Judystudy/gooderp_addons,OpenERPJeff/gooderp_addons,OpenERPJeff/gooderp_addons,luoguizhou/gooderp_addons,luoguizhou/gooderp_addons,gilbe...
odoo.define('web.float_limit', function(require) { var form_widgets = require('web.form_widget'); var form_view = require('web.FormView'); var core = require('web.core'); var float_limit = form_widgets.FieldFloat.extend({ is_valid: function() { res = this._super.apply(this, argu...
web_float_limit/static/src/js/limit.js
odoo.web_float_limit = function(instance) { instance.web.form.widgets = instance.web.form.widgets.extend({ 'float_limit' : 'instance.web.form.FieldFloatLimit', }); instance.web.form.FieldFloatLimit = instance.web.form.FieldFloat.extend({ is_valid: function() { res = this._super....
使得web_float_limit适配10.0
web_float_limit/static/src/js/limit.js
使得web_float_limit适配10.0
<ide><path>eb_float_limit/static/src/js/limit.js <del>odoo.web_float_limit = function(instance) { <del> instance.web.form.widgets = instance.web.form.widgets.extend({ <del> 'float_limit' : 'instance.web.form.FieldFloatLimit', <del> }); <del> <del> instance.web.form.FieldFloatLimit = instance.web.form.Fi...
JavaScript
apache-2.0
487d45144da5c511e08ea221ebee8b3f9b5ae5a8
0
mcanthony/moonstone,enyojs/moonstone,mcanthony/moonstone,mcanthony/moonstone
/** _moon.Slider_ is a control that presents a range of selection options in the form of a horizontal slider with a control knob. The knob may be tapped and dragged to the desired location. {kind: "moon.Slider", value: 30} The _onChanging_ event is fired while the control knob is being dragged, and the _onChan...
source/Slider.js
/** _moon.Slider_ is a control that presents a range of selection options in the form of a horizontal slider with a control knob. The knob may be tapped and dragged to the desired location. {kind: "moon.Slider", value: 30} The _onChanging_ event is fired while the control knob is being dragged, and the _onChan...
Initial implementation of elastic effect on Slider control http://jira2.lgsvl.com/browse/GF-6668 Enyo-DCO-1.1-Signed-off-by: Kunmyon Choi kunmyon.choi@lge.com
source/Slider.js
Initial implementation of elastic effect on Slider control
<ide><path>ource/Slider.js <ide> */ <ide> animate: true, <ide> //* When false, the slider's popup bubble is displayed when slider is adjusted <del> noPopup: false <add> noPopup: false, <add> //* When true, you can move the knob past the _bgProgress_ <add> pastBgProgress: false, <add> //* When true, you can s...
Java
mit
eb18032d9c111b21b73e1a3d2274ec327a038ea4
0
oscargus/jabref,Siedlerchr/jabref,zellerdev/jabref,tobiasdiez/jabref,Mr-DLib/jabref,zellerdev/jabref,sauliusg/jabref,oscargus/jabref,grimes2/jabref,motokito/jabref,Braunch/jabref,ayanai1/jabref,JabRef/jabref,Mr-DLib/jabref,JabRef/jabref,ayanai1/jabref,grimes2/jabref,zellerdev/jabref,obraliar/jabref,bartsch-dev/jabref,o...
/* Copyright (C) 2003-2012 JabRef contributors. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This progr...
src/java/net/sf/jabref/BasePanel.java
/* Copyright (C) 2003-2012 JabRef contributors. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This progr...
Removes obsolete imports at BasePanel
src/java/net/sf/jabref/BasePanel.java
Removes obsolete imports at BasePanel
<ide><path>rc/java/net/sf/jabref/BasePanel.java <ide> import java.awt.datatransfer.Transferable; <ide> import java.awt.datatransfer.UnsupportedFlavorException; <ide> import java.awt.event.ActionEvent; <del>import java.awt.event.ActionListener; <ide> import java.awt.event.KeyAdapter; <ide> import java.awt.event.KeyEvent...
Java
mit
678e336f89661f4504971989b032d17d6d72eb0d
0
welovecoding/editorconfig-netbeans,welovecoding/editorconfig-netbeans
package com.welovecoding.netbeans.plugin.editorconfig.processor.operation; import java.io.FileNotFoundException; import java.io.IOException; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.Path; import java.nio.file.Paths; import org.netbeans.junit.NbTestCase; import org.openide.filesyste...
src/test/java/com/welovecoding/netbeans/plugin/editorconfig/processor/operation/CharsetOperationTest.java
package com.welovecoding.netbeans.plugin.editorconfig.processor.operation; import java.io.FileNotFoundException; import java.io.IOException; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.Path; import java.nio.file.Paths; import org.junit.Test; import org.netbeans.junit.NbTestCase; impor...
Removed @Test
src/test/java/com/welovecoding/netbeans/plugin/editorconfig/processor/operation/CharsetOperationTest.java
Removed @Test
<ide><path>rc/test/java/com/welovecoding/netbeans/plugin/editorconfig/processor/operation/CharsetOperationTest.java <ide> import java.net.URL; <ide> import java.nio.file.Path; <ide> import java.nio.file.Paths; <del>import org.junit.Test; <ide> import org.netbeans.junit.NbTestCase; <ide> import org.openide.filesystems.F...
Java
mit
aa8da78685803780f7f84ddc55e8eb4dfe8b1b32
0
DefectiveMan/DidIt
package com.example.tylerpelaez.didit; import android.os.Parcel; import android.os.Parcelable; import org.json.JSONObject; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; /** * Created by Stephen on 4/9/2017. */ p...
app/src/main/java/com/example/tylerpelaez/didit/Habit.java
package com.example.tylerpelaez.didit; import android.os.Parcel; import android.os.Parcelable; import org.json.JSONObject; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; /** * Created by Stephen on 4/9/2017. */ p...
Added day of week selection and every other day
app/src/main/java/com/example/tylerpelaez/didit/Habit.java
Added day of week selection and every other day
<ide><path>pp/src/main/java/com/example/tylerpelaez/didit/Habit.java <ide> ArrayList<String> descriptors; <ide> // Key is date, Value is descriptors <ide> HashMap<String, ArrayList<Descriptor>> log; <add> public boolean everyOther; <add> public HashMap<String,Boolean> weekdays; <ide> <ide> // @Ove...
Java
mit
0239f4e772a8990eb36f806501a08f8a7e1169c4
0
bcvsolutions/CzechIdMng,bcvsolutions/CzechIdMng,bcvsolutions/CzechIdMng,bcvsolutions/CzechIdMng
package eu.bcvsolutions.idm.acc.provisioning; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java...
Realization/backend/acc/src/test/java/eu/bcvsolutions/idm/acc/provisioning/SysProvisioningBreakItemsTest.java
package eu.bcvsolutions.idm.acc.provisioning; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.CountDownLatch; import org.junit.Test; import eu.bcvsolutions.idm.acc.domain.ProvisioningEventType;...
#1673 change threads count
Realization/backend/acc/src/test/java/eu/bcvsolutions/idm/acc/provisioning/SysProvisioningBreakItemsTest.java
#1673 change threads count
<ide><path>ealization/backend/acc/src/test/java/eu/bcvsolutions/idm/acc/provisioning/SysProvisioningBreakItemsTest.java <ide> package eu.bcvsolutions.idm.acc.provisioning; <ide> <ide> import static org.junit.Assert.assertEquals; <add>import static org.junit.Assert.assertFalse; <add>import static org.junit.Assert.asser...
Java
mit
a2d31ec3e3164453fcbf7c89bb225ecf03929766
0
derrickoswald/CIMApplication,derrickoswald/CIMApplication,derrickoswald/CIMApplication,derrickoswald/CIMApplication,derrickoswald/CIMApplication
package ch.ninecode.cim.cimweb; import javax.annotation.Resource; import javax.ejb.Stateless; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import java.io.PrintWriter; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.ne...
CIMWeb/src/main/java/ch/ninecode/cim/cimweb/ShortCircuitCalculation.java
package ch.ninecode.cim.cimweb; import javax.annotation.Resource; import javax.ejb.Stateless; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import java.io.PrintWriter; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.ne...
update ShortCircuit signature
CIMWeb/src/main/java/ch/ninecode/cim/cimweb/ShortCircuitCalculation.java
update ShortCircuit signature
<ide><path>IMWeb/src/main/java/ch/ninecode/cim/cimweb/ShortCircuitCalculation.java <ide> import ch.ninecode.cim.connector.CIMInteractionSpecImpl; <ide> import ch.ninecode.cim.connector.CIMMappedRecord; <ide> import ch.ninecode.cim.connector.CIMResultSet; <del>import ch.ninecode.sc.ShortCircuit; <add>import ch.ninecode....
Java
apache-2.0
ea18c27420039a7ebee7551a82a2d7a6a902b0aa
0
izonder/intellij-community,fengbaicanhe/intellij-community,MichaelNedzelsky/intellij-community,salguarnieri/intellij-community,robovm/robovm-studio,samthor/intellij-community,da1z/intellij-community,asedunov/intellij-community,da1z/intellij-community,samthor/intellij-community,idea4bsd/idea4bsd,retomerz/intellij-commun...
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/core-impl/src/com/intellij/openapi/progress/impl/CoreProgressManager.java
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
optimisation: reduce volatile reads to one down from three
platform/core-impl/src/com/intellij/openapi/progress/impl/CoreProgressManager.java
optimisation: reduce volatile reads to one down from three
<ide><path>latform/core-impl/src/com/intellij/openapi/progress/impl/CoreProgressManager.java <ide> private static final boolean ENABLED = !"disabled".equals(System.getProperty("idea.ProcessCanceledException")); <ide> private final ScheduledFuture<?> myCheckCancelledFuture; <ide> <del> // indicator -> threads whic...
Java
apache-2.0
947732ea3e868e7de712d5315375174f6d58ed8c
0
milindaperera/product-is,wso2/product-is,madurangasiriwardena/product-is,madurangasiriwardena/product-is,mefarazath/product-is,madurangasiriwardena/product-is,mefarazath/product-is,milindaperera/product-is,mefarazath/product-is,milindaperera/product-is,wso2/product-is,milindaperera/product-is,wso2/product-is,mefarazath...
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
modules/samples/oauth2/custom-grant/src/main/java/org/wso2/sample/identity/oauth2/grant/mobile/MobileGrant.java
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
adding override annotation.
modules/samples/oauth2/custom-grant/src/main/java/org/wso2/sample/identity/oauth2/grant/mobile/MobileGrant.java
adding override annotation.
<ide><path>odules/samples/oauth2/custom-grant/src/main/java/org/wso2/sample/identity/oauth2/grant/mobile/MobileGrant.java <ide> return false; <ide> } <ide> <add> @Override <ide> public boolean isOfTypeApplicationUser() throws IdentityOAuth2Exception { <ide> return true; <ide> }
Java
apache-2.0
fd44820f7c3e3f59ab449f7c0c874066f6eb4528
0
java110/MicroCommunity,java110/MicroCommunity,java110/MicroCommunity,java110/MicroCommunity
package com.java110.front.smo.assetImport.impl; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.java110.core.component.BaseComponentSMO; import com.java110.core.context.IPageData; import com.java110.entity.assetImport.*; import com.java110.entity.component.ComponentValidateRes...
service-front/src/main/java/com/java110/front/smo/assetImport/impl/AssetImportSMOImpl.java
package com.java110.front.smo.assetImport.impl; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.java110.core.component.BaseComponentSMO; import com.java110.core.context.IPageData; import com.java110.entity.assetImport.*; import com.java110.entity.component.ComponentValidateRes...
资产导入时校验手机号位数 超过11位报错
service-front/src/main/java/com/java110/front/smo/assetImport/impl/AssetImportSMOImpl.java
资产导入时校验手机号位数 超过11位报错
<ide><path>ervice-front/src/main/java/com/java110/front/smo/assetImport/impl/AssetImportSMOImpl.java <ide> String tel = StringUtil.isNullOrNone(os[4]) ? "19999999999" : os[4].toString(); <ide> String idCard = StringUtil.isNullOrNone(os[5]) ? "10000000000000000001" : os[5].toString(); <ide> <add...
Java
apache-2.0
f70a319677b2a131b41b8e581406de066ea86c2d
0
osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi
/* * Copyright (c) IBM Corporation (2010, 2011). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
org.osgi.test.cases.framework/src/org/osgi/test/cases/framework/junit/wiring/BundleWiringTests.java
/* * Copyright (c) IBM Corporation (2010, 2011). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Add simple test for bug 1922
org.osgi.test.cases.framework/src/org/osgi/test/cases/framework/junit/wiring/BundleWiringTests.java
Add simple test for bug 1922
<ide><path>rg.osgi.test.cases.framework/src/org/osgi/test/cases/framework/junit/wiring/BundleWiringTests.java <ide> import org.osgi.framework.Bundle; <ide> import org.osgi.framework.BundleException; <ide> import org.osgi.framework.Constants; <add>import org.osgi.framework.Filter; <ide> import org.osgi.framework.Framewo...
JavaScript
mit
3df73cfdce4d2f3ad7f6b62449a874239390de73
0
jbaicoianu/janusweb,jbaicoianu/janusweb,jbaicoianu/janusweb
elation.require(['engine.engine', 'engine.assets', 'engine.things.light_ambient', 'engine.things.light_directional', 'engine.things.light_point', 'janusweb.janusweb', 'janusweb.chat', 'janusweb.janusplayer', 'janusweb.ui'], function() { // If getCurrentScript returns non-null here, then it means we're in release mod...
scripts/client.js
elation.require(['engine.engine', 'engine.assets', 'engine.things.light_ambient', 'engine.things.light_directional', 'engine.things.light_point', 'janusweb.janusweb', 'janusweb.chat', 'janusweb.janusplayer', 'janusweb.ui'], function() { // If getCurrentScript returns non-null here, then it means we're in release mod...
Init sharing function
scripts/client.js
Init sharing function
<ide><path>cripts/client.js <ide> this.initSharing(); <ide> }), 0); <ide> } <add> this.initSharing = function() { <add> this.sharedialog = elation.engine.sharing({append: document.body, client: this}); <add> this.sharebutton = elation.ui.button({classname: 'janusweb_sharing', label: 'Shar...
Java
apache-2.0
b12bdc315b6b0afa3a20ca7f9f56c7ad6cfaa038
0
mjanicek/rembulan,kroepke/luna
package net.sandius.rembulan.compiler.analysis; import net.sandius.rembulan.compiler.IRFunc; import net.sandius.rembulan.compiler.ir.*; import net.sandius.rembulan.compiler.util.CodeUtils; import net.sandius.rembulan.util.Check; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import jav...
rembulan-compiler/src/main/java/net/sandius/rembulan/compiler/analysis/LivenessAnalyser.java
package net.sandius.rembulan.compiler.analysis; import net.sandius.rembulan.compiler.IRFunc; import net.sandius.rembulan.compiler.ir.*; import net.sandius.rembulan.compiler.util.CodeUtils; import net.sandius.rembulan.util.Check; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import jav...
Removing unused local variables.
rembulan-compiler/src/main/java/net/sandius/rembulan/compiler/analysis/LivenessAnalyser.java
Removing unused local variables.
<ide><path>embulan-compiler/src/main/java/net/sandius/rembulan/compiler/analysis/LivenessAnalyser.java <ide> } <ide> <ide> private LivenessInfo result() { <del> Map<IRNode, Set<Var>> varLiveOut = new HashMap<>(); <del> Map<IRNode, Set<AbstractVal>> valLiveOut = new HashMap<>(); <del> <ide> Map<IRNode, LivenessIn...
Java
apache-2.0
d821c26838afa30ffc2711af980a140bc9b9dc8e
0
tmaret/sling,wimsymons/sling,sdmcraft/sling,ieb/sling,klcodanr/sling,trekawek/sling,mmanski/sling,anchela/sling,tteofili/sling,Nimco/sling,mcdan/sling,tteofili/sling,awadheshv/sling,vladbailescu/sling,tteofili/sling,klcodanr/sling,awadheshv/sling,tyge68/sling,mcdan/sling,ffromm/sling,Sivaramvt/sling,trekawek/sling,clel...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
launchpad/launchpad-webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/PropertyRenderingTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Do not expect any content type on a request without extension - strange is, that this seems to have worked until now .... git-svn-id: c3eb811ccca381e673aa62a65336ec26649ed58c@631991 13f79535-47bb-0310-9956-ffa450edef68
launchpad/launchpad-webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/PropertyRenderingTest.java
Do not expect any content type on a request without extension - strange is, that this seems to have worked until now ....
<ide><path>aunchpad/launchpad-webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/PropertyRenderingTest.java <ide> } <ide> <ide> public void testTextNoExt() throws IOException { <del> final String data = getContent(displayUrl + "/text", CONTENT_TYPE_PLAIN); <add> final Stri...
JavaScript
mit
f77ef400718b32cd025f9aea56397a530973897a
0
briggySmalls/late-train-mate,briggySmalls/late-train-mate,briggySmalls/late-train-mate
// Karma configuration file, see link for more information // https://karma-runner.github.io/0.13/config/configuration-file.html module.exports = function (config) { configuration = { basePath: '', frameworks: ['jasmine', '@angular/cli'], plugins: [ require('karma-jasmine'), require('karma-ch...
karma.conf.js
// Karma configuration file, see link for more information // https://karma-runner.github.io/0.13/config/configuration-file.html module.exports = function (config) { configuration = { basePath: '', frameworks: ['jasmine', '@angular/cli'], plugins: [ require('karma-jasmine'), require('karma-ch...
Use headless chrome for travis?
karma.conf.js
Use headless chrome for travis?
<ide><path>arma.conf.js <ide> browsers: ['Chrome'], <ide> singleRun: false, <ide> customLaunchers: { <del> Chrome_travis_ci: { <del> base: 'Chrome', <del> flags: ['--no-sandbox'] <add> ChromeHeadless: { <add> base: 'Chrome', <add> flags: [ <add> ...
Java
mit
70d191f0e5c05fe8f1cb3c4bf3f4f512f0dd434b
0
Doist/TodoistModels,Doist/TodoistPojos
package com.todoist.model; public class BaseReminder extends TodoistObjectWithId { public static final String TYPE_ABSOLUTE = "absolute"; public static final String TYPE_RELATIVE = "relative"; public static final String TYPE_LOCATION = "location"; public static final String SERVICE_EMAIL = "email"; ...
src/main/java/com/todoist/model/BaseReminder.java
package com.todoist.model; public class BaseReminder extends TodoistObjectWithId { public static final String TYPE_ABSOLUTE = "absolute"; public static final String TYPE_RELATIVE = "relative"; public static final String TYPE_LOCATION = "location"; public static final String SERVICE_EMAIL = "email"; ...
Fix dueDate type, add service in BaseReminder
src/main/java/com/todoist/model/BaseReminder.java
Fix dueDate type, add service in BaseReminder
<ide><path>rc/main/java/com/todoist/model/BaseReminder.java <ide> /** Exclusive to reminders of type {@link #TYPE_ABSOLUTE}. */ <ide> private String dateString; <ide> /** Exclusive to reminders of type {@link #TYPE_ABSOLUTE}. */ <del> private String dueDate; <add> private Long dueDate; <ide> /** E...
Java
bsd-3-clause
5ea42099549cd563bffb2aebeb068c77e5cfdfcd
0
MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2
package org.carrot2.workbench.editors.impl; import java.io.File; import java.net.*; import org.carrot2.util.resource.*; import org.carrot2.workbench.core.helpers.DisposeBin; import org.carrot2.workbench.core.helpers.GUIFactory; import org.carrot2.workbench.editors.*; import org.eclipse.jface.dialogs.*; impo...
workbench/org.carrot2.workbench.editors/src/org/carrot2/workbench/editors/impl/ResourceEditor.java
package org.carrot2.workbench.editors.impl; import java.io.File; import java.net.*; import org.carrot2.util.resource.*; import org.carrot2.workbench.core.helpers.DisposeBin; import org.carrot2.workbench.core.helpers.GUIFactory; import org.carrot2.workbench.editors.*; import org.eclipse.jface.dialogs.*; impo...
Removed gray border (works on Windows). git-svn-id: f05d591df75ba7f0993a7f82cc16d06976130918@2802 7ff1d41c-760d-0410-a7ff-a3a56f310b35
workbench/org.carrot2.workbench.editors/src/org/carrot2/workbench/editors/impl/ResourceEditor.java
Removed gray border (works on Windows).
<ide><path>orkbench/org.carrot2.workbench.editors/src/org/carrot2/workbench/editors/impl/ResourceEditor.java <ide> { <ide> this.resourceInfo = new Text(holder, SWT.READ_ONLY | SWT.NO_FOCUS | SWT.BORDER | SWT.SINGLE); <ide> <del> resourceInfo.setBackground( <del> resourceInfo.getDisplay()....
Java
mit
6d5fff9c7323518066623cc79dd87b38a2736869
0
AmadouSallah/Programming-Interview-Questions,AmadouSallah/Programming-Interview-Questions
/* Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = 9, return [0, 1]. Follow up: What if the input array is s...
leetcode/java/prob1TwoSum/twoSum.java
/* Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = 9, return [0, 1]. Follow up: What if the input array is s...
Updated solutions for twoSum.java
leetcode/java/prob1TwoSum/twoSum.java
Updated solutions for twoSum.java
<ide><path>eetcode/java/prob1TwoSum/twoSum.java <ide> <ide> public class twoSum { <ide> <add> // O(n^2) runtime and O(n) space complexities <ide> public static int[] twoSum(int[] nums, int target) { <ide> <del> if ( (nums == null) || (nums.length == 0) ) { <del> return new int[0]; <del> } <add> if (...
Java
mit
ba093c85635b4c3a14c2347ec583a504ca1847b6
0
cortext/geoclust,risis-eu/geoclust
import java.util.Vector; public class DBScan { public Vector<Integer> MNumClust; public ExtractionDonnees exd; public int v1; DBScan(ExtractionDonnees ex) { exd = ex; v1 = exd.Coord.size(); System.out.println("v1 = "+v1); int MinPts = Integer.valueOf(exd.ui.tnbpts.getText()); //choix minPts //System...
src/DBScan.java
import java.util.Vector; public class DBScan { public Vector<Integer> MNumClust; public ExtractionDonnees exd; public int v1; DBScan(ExtractionDonnees ex) { exd = ex; v1 = exd.Coord.size(); // v1 = 10000; System.out.println("v1 = "+v1); //choix minPts int MinPts = Integer.valueOf(exd.ui.tnbpts.getT...
Changement validation MinPoids, formule pour obtenir le poids par cluster
src/DBScan.java
Changement validation MinPoids, formule pour obtenir le poids par cluster
<ide><path>rc/DBScan.java <ide> { <ide> exd = ex; <ide> v1 = exd.Coord.size(); <del>// v1 = 10000; <ide> System.out.println("v1 = "+v1); <del> //choix minPts <del> int MinPts = Integer.valueOf(exd.ui.tnbpts.getText()); <del>// System.out.println("min pts = "+MinPts); <add> int MinPts = Integer.valueOf(exd.u...
JavaScript
apache-2.0
1125786b676c0ed856fb78b2859bbce9779fe6f2
0
Gillespie59/angular-logs2server
(function(){ 'use strict'; /** * @ngdoc module * @name logs2server * @module logs2server * @description * * # logs2server * The logs2server module will provide a decorator to the ExceptionHandler service. You will be able to send * to your server any client-side exception (throw Error("message")), an...
angular-logs2server.js
(function(){ 'use strict'; /** * @ngdoc module * @name logs2server * @module logs2server * @description * * # logs2server * The logs2server module will provide a decorator to the ExceptionHandler service. You will be able to send * to your server any client-side exception (throw Error("message")), an...
Align ngdoc
angular-logs2server.js
Align ngdoc
<ide><path>ngular-logs2server.js <ide> var defaultExceptionHandler = true; <ide> <ide> /** <del> * @ngdoc method <del> * @name $log2serverConfigServiceProvider#setServerURL <del> * @param {string} url URL of the REST API receiving the logs, via a POST request. <del> */ <add> * @ngdoc method <add> * @...
Java
apache-2.0
63ea7789ce7be1ec53a8d9cd822cb8e00d301033
0
KurtStam/fabric8,KurtStam/fabric8,dhirajsb/fabric8,zmhassan/fabric8,christian-posta/fabric8,christian-posta/fabric8,rhuss/fabric8,chirino/fabric8v2,chirino/fabric8v2,dhirajsb/fabric8,chirino/fabric8v2,zmhassan/fabric8,rhuss/fabric8,dhirajsb/fabric8,KurtStam/fabric8,dhirajsb/fabric8,rhuss/fabric8,rhuss/fabric8,christian...
/** * Copyright 2005-2015 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
forge/addons/camel-maven-plugin/src/main/java/io/fabric8/forge/camel/maven/EndpointMojo.java
/** * Copyright 2005-2015 Red Hat, Inc. * <p/> * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Un...
#5411: Lic header
forge/addons/camel-maven-plugin/src/main/java/io/fabric8/forge/camel/maven/EndpointMojo.java
#5411: Lic header
<ide><path>orge/addons/camel-maven-plugin/src/main/java/io/fabric8/forge/camel/maven/EndpointMojo.java <ide> /** <del> * Copyright 2005-2015 Red Hat, Inc. <del> * <p/> <del> * Red Hat licenses this file to you under the Apache License, version <del> * 2.0 (the "License"); you may not use this file except in compliance ...
JavaScript
mit
60e8a81231c6224c420888c6fe89c45497244bfa
0
hubcivico/civicBot
/** * PublicController * * @description :: Server-side logic for managing public * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ var moment = require('moment'); module.exports = { getContributionList: function (req, res) { Classify.find({published: true}).populate([...
api/controllers/PublicController.js
/** * PublicController * * @description :: Server-side logic for managing public * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ var moment = require('moment'); module.exports = { getContributionList: function (req, res) { Classify.find({published: true}).populate([...
Final migration to MongoDB
api/controllers/PublicController.js
Final migration to MongoDB
<ide><path>pi/controllers/PublicController.js <ide> <ide> }) <ide> <del> }, <add> }, //CHECKED! <ide> <ide> getTotalReceivedImg: function (req, res) { <ide> Classify.count({type: 1}).exec(function (ko, count){ <ide> <ide> }) <ide> <del> }, <add> }, //CHECKED! <ide> <ide> ...
Java
bsd-2-clause
20dd14ec83fbf5659e7e2aa865a9981ba0ba7371
0
TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej,TehSAUCE/imagej
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2014 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
core/core/src/main/java/imagej/module/ModuleService.java
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2014 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
ModuleService: tweak javadoc
core/core/src/main/java/imagej/module/ModuleService.java
ModuleService: tweak javadoc
<ide><path>ore/core/src/main/java/imagej/module/ModuleService.java <ide> import java.util.Map; <ide> import java.util.concurrent.Future; <ide> <add>import org.scijava.Prioritized; <ide> import org.scijava.input.Accelerator; <ide> <ide> /** <ide> * <p> <ide> * If the module implements the {@link org.scijava.Contex...
JavaScript
mit
82d7d1fed5e90c69958f0feaf6d2fd1cbb2a5b09
0
terafin/mqtt-rules,terafin/mqtt-rules
const express = require('express') const _ = require('lodash') const logging = require('homeautomation-js-lib/logging.js') const utilities = require('./utilities.js') const moment = require('moment-timezone') const TIMEZONE = utilities.getCurrentTimeZone() const loader = require('./loading.js') require('homeautomation...
lib/api.js
const express = require('express') const _ = require('lodash') const logging = require('homeautomation-js-lib/logging.js') const utilities = require('./utilities.js') const moment = require('moment-timezone') const TIMEZONE = utilities.getCurrentTimeZone() const loader = require('./loading.js') require('homeautomation...
Cleaning up the history here
lib/api.js
Cleaning up the history here
<ide><path>ib/api.js <ide> historyHTML += ' <th>' + item.evaluate_job_data.reason + '</th> ' <ide> historyHTML += ' <th>' + item.evaluate_job_data.context_value[utilities.update_topic_for_expression(item.evaluate_job_data.topic)] + '</th> ' <ide> historyHTML += ' <th>' + moment.unix(item.evaluate_job_...
Java
apache-2.0
aa5dc66e079f6a03679512bf9cbe95f0e9c55819
0
realityforge/replicant,realityforge/replicant
package org.realityforge.replicant.server.transport; import javax.websocket.Session; import org.realityforge.guiceyloops.shared.ValueUtil; import org.realityforge.replicant.server.ChannelAddress; import org.testng.annotations.Test; import static org.mockito.Mockito.*; import static org.testng.Assert.*; public class R...
server/src/test/java/org/realityforge/replicant/server/transport/ReplicantSessionTest.java
package org.realityforge.replicant.server.transport; import javax.websocket.Session; import org.realityforge.guiceyloops.shared.ValueUtil; import org.realityforge.replicant.server.ChannelAddress; import org.testng.annotations.Test; import static org.mockito.Mockito.*; import static org.testng.Assert.*; public class R...
Remove unnecessary suppression
server/src/test/java/org/realityforge/replicant/server/transport/ReplicantSessionTest.java
Remove unnecessary suppression
<ide><path>erver/src/test/java/org/realityforge/replicant/server/transport/ReplicantSessionTest.java <ide> assertEquals( session.getSubscriptions().size(), 0 ); <ide> } <ide> <del> @SuppressWarnings( "ConstantConditions" ) <ide> @Test <ide> public void cacheKeys() <ide> {
JavaScript
agpl-3.0
2c3847affee52d4abf54fc1f466d336918f4f342
0
nrizzio/Signal-Desktop,nrizzio/Signal-Desktop,nrizzio/Signal-Desktop,nrizzio/Signal-Desktop
/* global window: false */ /* global textsecure: false */ /* global WebAPI: false */ /* global libsignal: false */ /* global WebSocketResource: false */ /* global WebSocket: false */ /* global Event: false */ /* global dcodeIO: false */ /* global _: false */ /* global ContactBuffer: false */ /* global GroupBuffer: fals...
libtextsecure/message_receiver.js
/* global window: false */ /* global textsecure: false */ /* global WebAPI: false */ /* global libsignal: false */ /* global WebSocketResource: false */ /* global WebSocket: false */ /* global Event: false */ /* global dcodeIO: false */ /* global _: false */ /* global ContactBuffer: false */ /* global GroupBuffer: fals...
MessageReceiver: Don't wait for cache update to move forward
libtextsecure/message_receiver.js
MessageReceiver: Don't wait for cache update to move forward
<ide><path>ibtextsecure/message_receiver.js <ide> .then(plaintext => { <ide> const { isMe, isBlocked } = plaintext || {}; <ide> if (isMe || isBlocked) { <del> return this.removeFromCache(envelope); <add> this.removeFromCache(envelope); <add> return null; <ide> } ...
JavaScript
mit
e0ce4b5b2f2bacbe731fe22844fcfd85fd988ee6
0
spark/winston-papertrail,kenperkins/winston-papertrail
/* * winston-papertrail.js: * * Transport for logging to Papertrail Service * www.papertrailapp.com * * (C) 2013 Ken Perkins * MIT LICENCE * */ var os = require('os'), net = require('net'), tls = require('tls'), syslogProducer = require('glossy').Produce, util = require('util...
lib/winston-papertrail.js
/* * winston-papertrail.js: * * Transport for logging to Papertrail Service * www.papertrailapp.com * * (C) 2013 Ken Perkins * MIT LICENCE * */ var os = require('os'), net = require('net'), tls = require('tls'), syslogProducer = require('glossy').Produce, util = require('util...
lol j/k
lib/winston-papertrail.js
lol j/k
<ide><path>ib/winston-papertrail.js <ide> try { <ide> if (self.stream) { <ide> //we're cleaning up, don't loop. <del>// self.stream.removeListener('end', connectStream); <add> self.stream.removeListener('end', connectStream); <ide> // self...
Java
apache-2.0
10a8a3097c68d8234d2ac799c6f95828bac1cebc
0
Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces
package org.openspaces.admin.internal.admin; import com.gigaspaces.grid.gsm.PUDetails; import com.gigaspaces.grid.gsm.PUsDetails; import com.gigaspaces.jvm.JVMDetails; import com.gigaspaces.lrmi.nio.info.NIODetails; import com.gigaspaces.operatingsystem.OSDetails; import net.jini.core.discovery.LookupLocator; import o...
src/main/src/org/openspaces/admin/internal/admin/DefaultAdmin.java
package org.openspaces.admin.internal.admin; import com.gigaspaces.grid.gsm.PUDetails; import com.gigaspaces.grid.gsm.PUsDetails; import com.gigaspaces.jvm.JVMDetails; import com.gigaspaces.lrmi.nio.info.NIODetails; import com.gigaspaces.operatingsystem.OSDetails; import net.jini.core.discovery.LookupLocator; import o...
GS-6082 OpenSpaces Admin API added the ability to set the processing unit monitor interval svn path=/trunk/openspaces/; revision=44626 Former-commit-id: 0c0e181877da7a2fd6b5b0b47a5507482ccf6b42
src/main/src/org/openspaces/admin/internal/admin/DefaultAdmin.java
GS-6082
<ide><path>rc/main/src/org/openspaces/admin/internal/admin/DefaultAdmin.java <ide> import java.util.Map; <ide> import java.util.concurrent.Executors; <ide> import java.util.concurrent.Future; <del>import java.util.concurrent.ScheduledExecutorService; <add>import java.util.concurrent.ScheduledThreadPoolExecutor; <ide> i...
Java
epl-1.0
3bb8c815768c3851b76c1a206e2be3ab1f51c9d0
0
windup/windup,mareknovotny/windup,jsight/windup,jsight/windup,mbriskar/windup,mbriskar/windup,mbriskar/windup,d-s/windup,johnsteele/windup,lincolnthree/windup,johnsteele/windup,OndraZizka/windup,OndraZizka/windup,lincolnthree/windup,sgilda/windup,OndraZizka/windup,Ladicek/windup,mbriskar/windup,mareknovotny/windup,Maar...
package org.jboss.windup.graph; import java.io.File; import java.nio.file.Path; import java.util.UUID; import org.apache.commons.configuration.BaseConfiguration; import org.apache.commons.configuration.Configuration; import org.apache.commons.io.FileUtils; import org.jboss.forge.furnace.services.Imported; import org....
graph/impl/src/main/java/org/jboss/windup/graph/GraphContextImpl.java
package org.jboss.windup.graph; import java.io.File; import java.nio.file.Path; import java.util.UUID; import org.apache.commons.configuration.BaseConfiguration; import org.apache.commons.configuration.Configuration; import org.apache.commons.io.FileUtils; import org.jboss.forge.furnace.services.Imported; import org....
Fix for spurious exceptions during unit tests.
graph/impl/src/main/java/org/jboss/windup/graph/GraphContextImpl.java
Fix for spurious exceptions during unit tests.
<ide><path>raph/impl/src/main/java/org/jboss/windup/graph/GraphContextImpl.java <ide> <ide> conf.setProperty("index.search.backend", "lucene"); <ide> conf.setProperty("index.search.directory", lucene.toAbsolutePath().toString()); <del> conf.setProperty("index.search.local-mode", "true"); <ide> ...
Java
apache-2.0
3a8a4014c6b43b06eed79c420dfbc19f07a6de86
0
niqo01/android-times-square,niqo01/android-times-square
// Copyright 2012 Square, Inc. package com.squareup.timessquare; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Typeface; import android.util.AttributeSet; import android.view.LayoutInflater; i...
library/src/main/java/com/squareup/timessquare/CalendarPickerView.java
// Copyright 2012 Square, Inc. package com.squareup.timessquare; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Typeface; import android.util.AttributeSet; import android.view.LayoutInflater; i...
Fix selecting departure date right away
library/src/main/java/com/squareup/timessquare/CalendarPickerView.java
Fix selecting departure date right away
<ide><path>ibrary/src/main/java/com/squareup/timessquare/CalendarPickerView.java <ide> selectedCells.get(0).setRangeState(MonthCellDescriptor.RangeState.FIRST); <ide> selectedCells.get(1).setRangeState(MonthCellDescriptor.RangeState.LAST); <ide> <add> if (previouslyUnSelectableCell != null <add>...
Java
mit
7f8c873433cb45a23071bc79302afa77e505dcef
0
DovSnier/CSSTranslateMachine
/** * */ package com.dovsnier.interpreter; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.Reader; import java.io.Writer; import com.dovsnier.bean.Attribute; import com.dovsnier.bean.Docume...
src/com/dovsnier/interpreter/Interpreter.java
/** * */ package com.dovsnier.interpreter; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.Reader; import java.io.Writer; import com.dovsnier.bean.DocumentBean; import com.dovsnier.bean.Roo...
the impl sample parse css style sheet function that maybe a lot have bug and so on.
src/com/dovsnier/interpreter/Interpreter.java
the impl sample parse css style sheet function that maybe a lot have bug and so on.
<ide><path>rc/com/dovsnier/interpreter/Interpreter.java <ide> import java.io.Reader; <ide> import java.io.Writer; <ide> <add>import com.dovsnier.bean.Attribute; <ide> import com.dovsnier.bean.DocumentBean; <add>import com.dovsnier.bean.NodeBean; <ide> import com.dovsnier.bean.RootNodeBean; <ide> <ide> /** <ide> publ...
Java
mpl-2.0
1fd15800d3c340e2f41c11132b7f08490a16f71e
0
amagdenko/oiosaml.java,amagdenko/oiosaml.java,amagdenko/oiosaml.java,amagdenko/oiosaml.java
/* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this * file except in compliance with the License. You may obtain * a copy of the License at http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an * "...
sp/trunk/src/dk/itst/oiosaml/sp/model/OIOSamlObject.java
/* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this * file except in compliance with the License. You may obtain * a copy of the License at http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an * "...
add ds namespace to top element to avoid signature checking problems
sp/trunk/src/dk/itst/oiosaml/sp/model/OIOSamlObject.java
add ds namespace to top element to avoid signature checking problems
<ide><path>p/trunk/src/dk/itst/oiosaml/sp/model/OIOSamlObject.java <ide> package dk.itst.oiosaml.sp.model; <ide> <ide> import java.security.PublicKey; <add> <add>import javax.xml.crypto.dsig.XMLSignature; <ide> <ide> import org.apache.log4j.Logger; <ide> import org.opensaml.Configuration; <ide> import org.opensaml.ws...
Java
mit
0412583cb873917ece92ba16ca534baf6087aae6
0
jareddlc/OpenFit,aksalj/OpenFit
package com.solderbyte.openfit; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.TimeZone; import com.solderbyte.openfit.protocol.OpenFitNotificationProtocol; import com.solderbyte.openfit.util.OpenFitData; import com.solderbyte.openfit.util.OpenFit...
src/com/solderbyte/openfit/OpenFitApi.java
package com.solderbyte.openfit; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.TimeZone; import com.solderbyte.openfit.protocol.OpenFitNotificationProtocol; import com.solderbyte.openfit.util.OpenFitData; import com.solderbyte.openfit.util.OpenFit...
Fix WeatherClock
src/com/solderbyte/openfit/OpenFitApi.java
Fix WeatherClock
<ide><path>rc/com/solderbyte/openfit/OpenFitApi.java <ide> List<OpenFitDataTypeAndString> mDataList = new ArrayList<OpenFitDataTypeAndString>(); <ide> mDataList.add(new OpenFitDataTypeAndString(OpenFitDataType.BYTE, location)); <ide> <del> int tempInt = Integer.parseInt(temp); <add> float...
Java
bsd-3-clause
bad28c6fe02ca6d1272d3e6a0c88b6613bca6a09
0
HVA-FRC-3824/betaBot2016,HVA-FRC-3824/betaBot2016
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the ...
src/org/usfirst/frc3824/BetaBot/commands/ShootBoulderInGoal.java
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the ...
Created Shoot boulder in Goal Command
src/org/usfirst/frc3824/BetaBot/commands/ShootBoulderInGoal.java
Created Shoot boulder in Goal Command
<ide><path>rc/org/usfirst/frc3824/BetaBot/commands/ShootBoulderInGoal.java <ide> <ide> package org.usfirst.frc3824.BetaBot.commands; <ide> <add>import edu.wpi.first.wpilibj.Timer; <ide> import edu.wpi.first.wpilibj.command.Command; <ide> import org.usfirst.frc3824.BetaBot.Robot; <ide> <ide> <ide> // END AUTOGENERA...
Java
apache-2.0
6ca1df08e13a6461fb663cde7f2c534ec3aea70d
0
adligo/models_core.adligo.org
package org.adligo.models.core.client; import org.adligo.i.util.client.AppenderFactory; import org.adligo.i.util.client.I_Appender; import org.adligo.models.core.client.ids.I_StorageIdentifier; import org.adligo.models.core.client.ids.StorageIdentifierValidator; import org.adligo.models.core.client.ids.VersionValidato...
src/org/adligo/models/core/client/ChangeableMutant.java
package org.adligo.models.core.client; import org.adligo.models.core.client.ids.I_StorageIdentifier; import org.adligo.models.core.client.ids.StorageIdentifierValidator; import org.adligo.models.core.client.ids.VersionValidator; public class ChangeableMutant implements I_ChangeableMutant { /** * */ private sta...
missed some methods
src/org/adligo/models/core/client/ChangeableMutant.java
missed some methods
<ide><path>rc/org/adligo/models/core/client/ChangeableMutant.java <ide> package org.adligo.models.core.client; <ide> <add>import org.adligo.i.util.client.AppenderFactory; <add>import org.adligo.i.util.client.I_Appender; <ide> import org.adligo.models.core.client.ids.I_StorageIdentifier; <ide> import org.adligo.models....
Java
agpl-3.0
ed4094909c46c39f3f6d31b3d3e73a8b476cdddd
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
5fe35bda-2e62-11e5-9284-b827eb9e62be
hello.java
5fddf910-2e62-11e5-9284-b827eb9e62be
5fe35bda-2e62-11e5-9284-b827eb9e62be
hello.java
5fe35bda-2e62-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>5fddf910-2e62-11e5-9284-b827eb9e62be <add>5fe35bda-2e62-11e5-9284-b827eb9e62be
Java
apache-2.0
3e0c9ea3c8e178d9d857c558b3dd0b30968d9e42
0
apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
sharding-proxy-postgresql/src/main/java/org/apache/shardingsphere/shardingproxy/frontend/postgresql/PostgreSQLFrontendHandler.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
#1517, refine constant
sharding-proxy-postgresql/src/main/java/org/apache/shardingsphere/shardingproxy/frontend/postgresql/PostgreSQLFrontendHandler.java
#1517, refine constant
<ide><path>harding-proxy-postgresql/src/main/java/org/apache/shardingsphere/shardingproxy/frontend/postgresql/PostgreSQLFrontendHandler.java <ide> @RequiredArgsConstructor <ide> public final class PostgreSQLFrontendHandler extends FrontendHandler { <ide> <add> private static final int SSL_REQUEST_PAYLOAD_LENGTH...
Java
mit
0d2165ea372579e069287fbbd0ff11d41d5125c6
0
gini/gini-sdk-android,gini/gini-sdk-android,gini/gini-sdk-android
package net.gini.android.authorization; import android.net.Uri; import com.android.volley.RequestQueue; import com.android.volley.toolbox.JsonObjectRequest; import net.gini.android.RequestTaskCompletionSource; import net.gini.android.authorization.requests.BearerJsonObjectRequest; import net.gini.android.authorizati...
ginisdk/src/main/java/net/gini/android/authorization/UserCenterAPICommunicator.java
package net.gini.android.authorization; import android.net.Uri; import com.android.volley.RequestQueue; import com.android.volley.toolbox.JsonObjectRequest; import net.gini.android.RequestTaskCompletionSource; import net.gini.android.authorization.requests.BearerJsonObjectRequest; import net.gini.android.authorizati...
Fixed http method
ginisdk/src/main/java/net/gini/android/authorization/UserCenterAPICommunicator.java
Fixed http method
<ide><path>inisdk/src/main/java/net/gini/android/authorization/UserCenterAPICommunicator.java <ide> <ide> import static com.android.volley.Request.Method.GET; <ide> import static com.android.volley.Request.Method.POST; <add>import static com.android.volley.Request.Method.PUT; <ide> <ide> <ide> /** <ide> ...
Java
apache-2.0
015b0d4e2e0b406cabe57d48b07d5c3aa656f5c7
0
ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop
package it.unibz.inf.ontop.iq.transform.impl; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.google.inject.Inject; import it.unibz.inf.ontop.injection.IntermediateQueryFactory; import...
core/model/src/main/java/it/unibz/inf/ontop/iq/transform/impl/NoNullValuesEnforcerImpl.java
package it.unibz.inf.ontop.iq.transform.impl; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.google.inject.Inject; import it.unibz.inf.ontop.injection.IntermediateQueryFactory; import...
Minor optimization added to NoNullValuesEnforcerImpl.
core/model/src/main/java/it/unibz/inf/ontop/iq/transform/impl/NoNullValuesEnforcerImpl.java
Minor optimization added to NoNullValuesEnforcerImpl.
<ide><path>ore/model/src/main/java/it/unibz/inf/ontop/iq/transform/impl/NoNullValuesEnforcerImpl.java <ide> ? child <ide> : (new NotNullTopVariablePropagator(iqFactory, substitutionFactory, simplifiableChildVariables)).transform(child); <ide> <add> if (newConstruction...
Java
mit
003a4f3e65c6c52f59ea27454133efd6caf4e780
0
jenkinsci/analysis-core-plugin,amuniz/analysis-core-plugin,stephenc/analysis-core-plugin,amuniz/analysis-core-plugin,jenkinsci/warnings-plugin,jenkinsci/warnings-plugin,kohsuke/analysis-core-plugin,recena/analysis-core-plugin,stephenc/analysis-core-plugin,stephenc/analysis-core-plugin,jenkinsci/analysis-core-plugin,rec...
package hudson.plugins.analysis.graph; import org.joda.time.LocalDate; /** * Graph label showing the build date. * * @author Ulli Hafner */ public class LocalDateLabel implements Comparable<LocalDateLabel> { private final LocalDate date; /** * Creates a new instance of {@link LocalDateLabel}. *...
src/main/java/hudson/plugins/analysis/graph/LocalDateLabel.java
package hudson.plugins.analysis.graph; import org.joda.time.LocalDate; /** * Graph label showing the build date. * * @author Ulli Hafner */ public class LocalDateLabel implements Comparable<LocalDateLabel> { private final LocalDate date; /** * Creates a new instance of {@link LocalDateLabel}. *...
Added equals.
src/main/java/hudson/plugins/analysis/graph/LocalDateLabel.java
Added equals.
<ide><path>rc/main/java/hudson/plugins/analysis/graph/LocalDateLabel.java <ide> public String toString() { <ide> return date.toString("MM-dd"); <ide> } <add> <add> /** {@inheritDoc} */ <add> @Override <add> public int hashCode() { <add> int prime = 31; <add> int result = 1; <add> ...
Java
apache-2.0
008bc5f68a3d58d69f2929c7a5482565e3561526
0
mlhartme/stool,mlhartme/stool,mlhartme/stool,mlhartme/stool,mlhartme/stool
/* * Copyright 1&1 Internet AG, https://github.com/1and1/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
src/main/java/net/oneandone/stool/cli/command/ConfigContext.java
/* * Copyright 1&1 Internet AG, https://github.com/1and1/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
output tweaks
src/main/java/net/oneandone/stool/cli/command/ConfigContext.java
output tweaks
<ide><path>rc/main/java/net/oneandone/stool/cli/command/ConfigContext.java <ide> // check if we need authentication; CAUTION: don't use version because it doesn't need credentials <ide> client.list("arbitraryStageNameFilter"); <ide> } catch (AuthenticationException e) { <del> ...
Java
apache-2.0
5986075e0a836bd292424ed36b0ba3d9d6dcbdb0
0
ruspl-afed/dbeaver,ruspl-afed/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,AndrewKhitrin/dbeaver,ruspl-afed/dbeaver,liuyuanyuan/dbeaver,liuyuanyuan/dbeaver,liuyuanyuan/dbeaver,ruspl-afed/dbeaver,AndrewKhitrin/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2016 Serge Rieder (serge@jkiss.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License (version 2) * as published by the Free Software Foundation. * * This program is distr...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/resultset/panel/AggregateColumnsPanel.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2016 Serge Rieder (serge@jkiss.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License (version 2) * as published by the Free Software Foundation. * * This program is distr...
#188 Aggregate panels fix (jre7)
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/resultset/panel/AggregateColumnsPanel.java
#188 Aggregate panels fix (jre7)
<ide><path>lugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/resultset/panel/AggregateColumnsPanel.java <ide> import org.jkiss.dbeaver.model.DBIcon; <ide> import org.jkiss.dbeaver.model.DBPImage; <ide> import org.jkiss.dbeaver.model.data.DBDAttributeBinding; <del>import org.jkiss.dbeaver.model.data.aggreg...
Java
mit
6e2fe687e96ef224cd4ff302e965294fdd6500ab
0
tkob/yokohamaunit,tkob/yokohamaunit
package yokohama.unit.translator; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.stream.Collectors; import java.util.stream.Stream; ...
src/main/java/yokohama/unit/translator/BcelJUnitAstCompiler.java
package yokohama.unit.translator; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.stream.Collectors; import java.util.stream.Stream; ...
Fix comment
src/main/java/yokohama/unit/translator/BcelJUnitAstCompiler.java
Fix comment
<ide><path>rc/main/java/yokohama/unit/translator/BcelJUnitAstCompiler.java <ide> Constants.ACC_PUBLIC | Constants.ACC_SUPER, <ide> null // implemented interfaces <ide> ); <del> // set class file version to Java 1.6 <add> // set class file version to Java 1.5 <ide> ...
Java
apache-2.0
91d92e74509d3d2b92faf242941c336deef2a540
0
gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle
subprojects/core/src/main/java/org/gradle/testfixtures/internal/TestBuildRootBuildOperationType.java
/* * Copyright 2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Remove unused class after merge
subprojects/core/src/main/java/org/gradle/testfixtures/internal/TestBuildRootBuildOperationType.java
Remove unused class after merge
<ide><path>ubprojects/core/src/main/java/org/gradle/testfixtures/internal/TestBuildRootBuildOperationType.java <del>/* <del> * Copyright 2022 the original author or authors. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance with the Li...
JavaScript
apache-2.0
72b161ec15a474625553bd4f6245e3676bbbd595
0
EasonYi/incubator-zeppelin,onkarshedge/incubator-zeppelin,Madhuka/incubator-zeppelin,rlugojr/incubator-zeppelin,astroshim/zeppelin,PeinYu/incubator-zeppelin,Leemoonsoo/incubator-zeppelin,wary/zeppelin,jhsbeat/incubator-zeppelin,mwkang/zeppelin,onkarshedge/incubator-zeppelin,sohaibiftikhar/zeppelin,apache/incubator-zepp...
/* global $:false, jQuery:false, ace:false, confirm:false, d3:false, nv:false*/ /*jshint loopfunc: true, unused:false */ /* Copyright 2014 NFLabs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lice...
zeppelin-web/app/scripts/controllers/paragraph.js
/* global $:false, jQuery:false, ace:false, confirm:false, d3:false, nv:false*/ /*jshint loopfunc: true, unused:false */ /* Copyright 2014 NFLabs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lice...
Fix d3 data formmating for chart drawing
zeppelin-web/app/scripts/controllers/paragraph.js
Fix d3 data formmating for chart drawing
<ide><path>eppelin-web/app/scripts/controllers/paragraph.js <ide> d3g = pivotDataToD3ChartFormat(p, true).d3g; <ide> $scope.chart[type].yAxis.axisLabelDistance(50); <ide> } else { <del> var pivotdata = pivotDataToD3ChartFormat(p); <add> var pivotdata = pivotDataToD3ChartFormat(p, false, true);...
JavaScript
apache-2.0
a2b9f7b422335fee7b2182e675de381aa9ee0cb5
0
Vbitz/Engine2D,Vbitz/Engine2D,Vbitz/Engine2D,Vbitz/Engine2D,Vbitz/Engine2D
// Engine2D Javascript API Documentation // Correct as of 18th Jan 2014 this.global = this; // Global object exposed as global /** @namespace */ global.console = {}; /** * Low level logging function that prints obj at level * * @param {string} level - The level to log at can be "warning"|"verbose"|"error"|"raw"...
doc/api.js
// Engine2D Javascript API Documentation // Correct as of 14th Jan 2014 this.global = this; // Global object exposed as global /** @namespace */ global.console = {}; /** * Low level logging function that prints obj at level * * @param {string} level - The level to log at can be "warning"|"verbose"|"error"|"raw"...
Documented mod and db modules
doc/api.js
Documented mod and db modules
<ide><path>oc/api.js <ide> // Engine2D Javascript API Documentation <del>// Correct as of 14th Jan 2014 <add>// Correct as of 18th Jan 2014 <ide> <ide> this.global = this; // Global object exposed as global <ide> <ide> /** @namespace */ <ide> global.mod = {}; <ide> <del>global.mod.open = function () {}; <del>global....
JavaScript
mit
eda9517bba33919bfab5b0de8e3591fba865cccc
0
fateevv/basisjs,tyanas/basisjs,smelukov/basisjs,basisjs/basisjs,tyanas/basisjs,fateevv/basisjs,smelukov/basisjs,smelukov/basisjs,fateevv/basisjs,istrel/basisjs,istrel/basisjs,basisjs/basisjs,basisjs/basisjs,istrel/basisjs,tyanas/basisjs
var document = global.document; var getComputedStyle = global.getComputedStyle; var HEIGHT = 150; var WIDTH = 150; var canvas = document.createElement('canvas'); var ctx = canvas.getContext('2d'); var baselineCache = {}; canvas.width = WIDTH; canvas.height = HEIGHT; function getTop(font, baseline){ ctx.font = font...
src/devpanel/inspector/utils/baseline.js
var document = global.document; var getComputedStyle = global.getComputedStyle; var HEIGHT = 150; var WIDTH = 150; var canvas = document.createElement('canvas'); var ctx = canvas.getContext('2d'); var baselineCache = {}; canvas.width = WIDTH; canvas.height = HEIGHT; function getTop(font, baseline){ ctx.font = font...
inspector.utils.baseline: comment added
src/devpanel/inspector/utils/baseline.js
inspector.utils.baseline: comment added
<ide><path>rc/devpanel/inspector/utils/baseline.js <ide> <ide> var width = ctx.measureText('x').width; <ide> <add> // getImageData with source width == 0 returns an error. <add> // covering that case <ide> if (!width) <ide> return 0; <ide>
Java
apache-2.0
7dd70e7e75f36daf5d0ad24363af63cd18bb69cf
0
MatthewTamlin/Spyglass
package com.matthewtamlin.spyglass.library.core; import android.content.Context; import android.content.res.TypedArray; import android.os.Looper; import android.util.AttributeSet; import android.view.View; import com.matthewtamlin.spyglass.library.default_adapters.DefaultAdapter; import com.matthewtamlin.spyglass.lib...
library/src/main/java/com/matthewtamlin/spyglass/library/core/Spyglass.java
package com.matthewtamlin.spyglass.library.core; import android.content.res.TypedArray; import android.os.Looper; import android.util.AttributeSet; import android.view.View; import com.matthewtamlin.spyglass.library.default_adapters.DefaultAdapter; import com.matthewtamlin.spyglass.library.handler_adapters.HandlerAda...
Added context to builder and Spyglass
library/src/main/java/com/matthewtamlin/spyglass/library/core/Spyglass.java
Added context to builder and Spyglass
<ide><path>ibrary/src/main/java/com/matthewtamlin/spyglass/library/core/Spyglass.java <ide> package com.matthewtamlin.spyglass.library.core; <ide> <add>import android.content.Context; <ide> import android.content.res.TypedArray; <ide> import android.os.Looper; <ide> import android.util.AttributeSet; <ide> public class...
Java
mit
6fd8b305984ac5faab01f3670dba740a84f16752
0
gems-uff/prov-viewer
/* * The MIT License * * Copyright 2017 Kohwalter. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modif...
src/main/java/br/uff/ic/provviewer/GUI/GuiFunctions.java
/* * The MIT License * * Copyright 2017 Kohwalter. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modif...
Removed imports
src/main/java/br/uff/ic/provviewer/GUI/GuiFunctions.java
Removed imports
<ide><path>rc/main/java/br/uff/ic/provviewer/GUI/GuiFunctions.java <ide> import br.uff.ic.utility.graph.EntityVertex; <ide> import br.uff.ic.utility.graph.Vertex; <ide> import br.uff.ic.provviewer.Vertex.VertexShape; <del>import br.uff.ic.utility.GraphUtils; <del>import br.uff.ic.utility.Utils; <ide> import br.uff.ic.u...
JavaScript
mit
5658a073bcbd5a5e96d0e9943d3e627b46ad5f82
0
ColorfulCakeChen/query-submit-canvas,ColorfulCakeChen/query-submit-canvas
//import * as Weights from "../Weights.js"; export { ShuffleInfo, ConcatGather, SplitConcat, Layer }; /** * The information for channel shuffler. * * * @member {number[]} concatenatedShape * An array of integer describes the shape of the concatenated apply()'s input tensor (tensor3d or tensor1d). * For exampl...
CNN/Layer/ChannelShuffler.js
//import * as Weights from "../Weights.js"; export { ShuffleInfo, ConcatGather, SplitConcat, Layer }; /** * The information for channel shuffler. * * * @member {number[]} concatenatedShape * An array of integer describes the shape of the concatenated apply()'s input tensor (tensor3d or tensor1d). * For exampl...
Update ChannelShuffler.js
CNN/Layer/ChannelShuffler.js
Update ChannelShuffler.js
<ide><path>NN/Layer/ChannelShuffler.js <ide> // shuffle and split by gather (one operation achieves two operations). <ide> let shuffledSplitedTensorArray = this.shuffledChannelIndicesTensor1dArray.map( <ide> shuffledChannelIndicesTensor1d => <del> concatenatedTensor.gather( shuffledChannelI...
Java
agpl-3.0
6eba97053bbdb65da1e33f4f0ee8fa7d23ed9e31
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
801d0000-2e61-11e5-9284-b827eb9e62be
hello.java
801790a2-2e61-11e5-9284-b827eb9e62be
801d0000-2e61-11e5-9284-b827eb9e62be
hello.java
801d0000-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>801790a2-2e61-11e5-9284-b827eb9e62be <add>801d0000-2e61-11e5-9284-b827eb9e62be
JavaScript
agpl-3.0
50e880356bcaab46800bdef69ed535334a437c3b
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
c343de48-2e62-11e5-9284-b827eb9e62be
helloWorld.js
c33e5450-2e62-11e5-9284-b827eb9e62be
c343de48-2e62-11e5-9284-b827eb9e62be
helloWorld.js
c343de48-2e62-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>c33e5450-2e62-11e5-9284-b827eb9e62be <add>c343de48-2e62-11e5-9284-b827eb9e62be
Java
mit
56f722b2824e6c87bbfef4319107cbbd6d7daf31
0
pirinda/sba10
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package sba.lib; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import ...
src/sba/lib/DLibUtils.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package sba.lib; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import ...
Adición de miembro a DLibUtils para formateador de fechas-hora ISO.
src/sba/lib/DLibUtils.java
Adición de miembro a DLibUtils para formateador de fechas-hora ISO.
<ide><path>rc/sba/lib/DLibUtils.java <ide> public static final SimpleDateFormat CsvFormatDatetime = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); <ide> public static final SimpleDateFormat CsvFormatTime = new SimpleDateFormat("HH:mm:ss"); <ide> public static final SimpleDateFormat FileDateFormatDatetime = ne...
Java
apache-2.0
2b3f6616db93e81dfa8ab59abdb772d3e0b9a20b
0
lastaflute/lastaflute-example-harbor,lastaflute/lastaflute-example-harbor,lastaflute/lastaflute-example-harbor,lastaflute/lastaflute-example-harbor,lastaflute/lastaflute-example-harbor,lastaflute/lastaflute-example-harbor
/* * Copyright 2015-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
src/main/java/org/docksidestage/mylasta/action/HarborMessages.java
/* * Copyright 2015-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
constraints.Pattern.message = invalid format
src/main/java/org/docksidestage/mylasta/action/HarborMessages.java
constraints.Pattern.message = invalid format
<ide><path>rc/main/java/org/docksidestage/mylasta/action/HarborMessages.java <ide> /** The key of the message: must be in the past */ <ide> public static final String CONSTRAINTS_Past_MESSAGE = "{constraints.Past.message}"; <ide> <del> /** The key of the message: must match "{regexp}" */ <add> /** The ke...
Java
agpl-3.0
741059e4ca81873561ce834d5b5101bbdc067f05
0
lolski/grakn,graknlabs/grakn,graknlabs/grakn,lolski/grakn,lolski/grakn,graknlabs/grakn,graknlabs/grakn,lolski/grakn
/* * Copyright (C) 2020 Grakn Labs * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is ...
query/Matcher.java
/* * Copyright (C) 2020 Grakn Labs * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is ...
Simplify aggregate count collector implementation
query/Matcher.java
Simplify aggregate count collector implementation
<ide><path>uery/Matcher.java <ide> } <ide> <ide> static Collector<ConceptMap, ?, Numeric> count() { <del> return new Collector<ConceptMap, OptionalAccumulator<Long>, Numeric>() { <del> <del> @Override <del> public Supplier<OptionalAccumulator<Long>> supplier() {...
Java
apache-2.0
971c09b3b764b1040f866db5a32ffeb13d92c84c
0
pawanpal01/biodata,mh11/biodata,j-coll/biodata,opencb/biodata
package org.opencb.biodata.models.variant.avro; import htsjdk.tribble.index.IndexFactory; import htsjdk.variant.variantcontext.LazyGenotypesContext; import htsjdk.variant.variantcontext.VariantContext; import htsjdk.variant.vcf.VCFFileReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNot...
biodata-models/src/main/java/org/opencb/biodata/models/variant/avro/VariantContextToVariantConverter.java
package org.opencb.biodata.models.variant.avro; import htsjdk.tribble.index.IndexFactory; import htsjdk.variant.variantcontext.LazyGenotypesContext; import htsjdk.variant.variantcontext.VariantContext; import htsjdk.variant.vcf.VCFFileReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNot...
BioModel: update Variant converter method
biodata-models/src/main/java/org/opencb/biodata/models/variant/avro/VariantContextToVariantConverter.java
BioModel: update Variant converter method
<ide><path>iodata-models/src/main/java/org/opencb/biodata/models/variant/avro/VariantContextToVariantConverter.java <ide> <ide> try { <ide> while (itr.hasNext()) { <del> Variant variant = new Variant(); <ide> VariantContext variantContext = itr.next(); <del> variant = convert(variantContext,variant...
Java
apache-2.0
43244ced7df55c5736f38119d60ec2ae9b3c8d92
0
socialsensor/socialsensor-query-builder
package eu.socialsensor.sfc.builder.ranking; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.TreeMap; import eu.socialsensor.framework.client.search.solr.SolrDyscoHandler; import eu.socialsensor.framework....
src/main/java/eu/socialsensor/sfc/builder/ranking/TrendsRanker.java
package eu.socialsensor.sfc.builder.ranking; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.TreeMap; import eu.socialsensor.framework.client.search.solr.SolrDyscoHandler; import eu.socialsensor.framework....
removed prints from ranker
src/main/java/eu/socialsensor/sfc/builder/ranking/TrendsRanker.java
removed prints from ranker
<ide><path>rc/main/java/eu/socialsensor/sfc/builder/ranking/TrendsRanker.java <ide> * @param args <ide> */ <ide> public static void main(String[] args) { <del> SolrDyscoHandler solrDyscoHandler = SolrDyscoHandler.getInstance("http://social1.atc.gr:8080/solr/dyscos"); <del> <del> Dysco testDysco = solrDyscoHandle...
JavaScript
mit
ca7b3fac6b9b23e455a63d90880f079ed5b23c9b
0
kalleth/static,kalleth/static,tadast/static,robinwhittleton/static,alphagov/static,alphagov/static,tadast/static,robinwhittleton/static,robinwhittleton/static,kalleth/static,alphagov/static,tadast/static,kalleth/static,robinwhittleton/static,tadast/static
/*globals $, GOVUK, suchi */ /*jslint white: true, browser: true */ $(function() { "use strict"; function browserWarning() { var container = $('<div id="global-browser-prompt"></div>'), text = $('<p><a href="/help/browsers">Upgrade your web browser</a> (the software you use to access the internet), i...
app/assets/javascripts/browser-check.js
/*globals $, GOVUK, suchi */ /*jslint white: true, browser: true */ $(function() { "use strict"; function browserWarning() { var container = $('<div id="global-browser-prompt"></div>'), text = $('<p><a href="/help/browsers">Upgrade your web browser</a> (the software you use to access the internet), i...
Track when we show the browser upgrade prompt At the moment it's getting quite a lot of negative feedback, and knowing who actually sees it will help use decide how to respond to that. We've been inferring this from traffic to the /help/browsers page, but that only captures users who are clicking on the banner. This ...
app/assets/javascripts/browser-check.js
Track when we show the browser upgrade prompt
<ide><path>pp/assets/javascripts/browser-check.js <ide> var $prompt = browserWarning(); <ide> $('#global-cookie-message').after($prompt); <ide> $prompt.show(); <add> window._gaq && _gaq.push(['_trackEvent', 'browser-check', 'prompt-shown', '', 1, true]); <ide> $prompt.on("click", ...
Java
mit
e910d277bbe9a6a572d1b49f1f0e9b9aae1723f0
0
Clarifai/clarifai-api-java
package com.clarifai.samples.clirecognizer; import java.io.File; import java.io.IOException; import java.util.List; import com.clarifai.api.ClarifaiClient; import com.clarifai.api.RecognitionRequest; import com.clarifai.api.RecognitionResult; import com.clarifai.api.RecognitionResult.StatusCode; import com.clarifai.a...
samples/command-line/src/main/java/com/clarifai/samples/clirecognizer/Main.java
package com.clarifai.samples.clirecognizer; import java.io.File; import java.io.IOException; import java.util.List; import com.clarifai.api.ClarifaiClient; import com.clarifai.api.RecognitionRequest; import com.clarifai.api.RecognitionResult; import com.clarifai.api.RecognitionResult.StatusCode; import com.clarifai.a...
Show video example in the sample
samples/command-line/src/main/java/com/clarifai/samples/clirecognizer/Main.java
Show video example in the sample
<ide><path>amples/command-line/src/main/java/com/clarifai/samples/clirecognizer/Main.java <ide> import com.clarifai.api.RecognitionResult; <ide> import com.clarifai.api.RecognitionResult.StatusCode; <ide> import com.clarifai.api.Tag; <add>import com.clarifai.api.VideoSegment; <ide> <ide> /** <ide> * A command-line to...
Java
apache-2.0
8aaf1239d6d7c4021cd7a8d7b6c0ffa15fdcff6a
0
aika-algorithm/aika,aika-algorithm/aika
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/main/java/network/aika/neuron/INeuron.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
fixed loading passive input neurons
src/main/java/network/aika/neuron/INeuron.java
fixed loading passive input neurons
<ide><path>rc/main/java/network/aika/neuron/INeuron.java <ide> while (in.readBoolean()) { <ide> Synapse syn = Synapse.read(in, m); <ide> inputSynapses.put(syn, syn); <add> <add> if(syn.input.get().isPassiveInputNeuron()) { <add> registerPassiveInputSynapse(syn);...
JavaScript
mit
d237904cbbf550d288214ebe11aff848ccc11587
0
jspsych/jsPsych-Redux-GUI,jspsych/jsPsych-Redux-GUI,jspsych/jsPsych-Redux-GUI
/* This file is the reducers for timelineNode class from jsPsych (timeline, trial) A timeline state = { id: string, type: string, name: string, // if its parent is mainTimeline, null parent: string, childrenById: array, collapsed: boolean, enabled: boolean, // jsPsych timeline properties parameters: object, ...
src/common/reducers/timelineNode.js
/* This file is the reducers for timelineNode class from jsPsych (timeline, trial) A timeline state = { id: string, type: string, name: string, // if its parent is mainTimeline, null parent: string, childrenById: array, collapsed: boolean, enabled: boolean, // jsPsych timeline properties parameters: object, ...
Clean up
src/common/reducers/timelineNode.js
Clean up
<ide><path>rc/common/reducers/timelineNode.js <ide> <ide> const pluginType = (type) => { <ide> switch(type) { <del> case 1: return ('text'); <del> break; <del> case 2: return ('single-stim'); <del> break; <del> default: return ('text'); <add> case 1: <add> return 'text'; <add> case 2: <add> return 'singl...