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
bsd-3-clause
3a7af77b7671f9f0e2256ef243996fc2ad6de7e8
0
jimallman/dryad-repo,jamie-dryad/dryad-repo,jimallman/dryad-repo,mdiggory/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-repo,ojacobson/dryad-repo,mdiggory/dryad-repo,jamie-dryad/dryad-repo,jamie-dryad/dryad-repo,rnathanday/dryad-repo,jimallman/dryad-repo,mdiggory/dryad-repo,rnathanday/dryad-repo,jamie-dryad/dryad-r...
/* * TableRow.java * * Version: $Revision$ * * Date: $Date$ * * Copyright (c) 2002-2005, Hewlett-Packard Company and Massachusetts * Institute of Technology. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
dspace-api/src/main/java/org/dspace/storage/rdbms/TableRow.java
/* * TableRow.java * * Version: $Revision$ * * Date: $Date$ * * Copyright (c) 2002-2005, Hewlett-Packard Company and Massachusetts * Institute of Technology. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
Remove unnecessary canonicalization git-svn-id: 70bab745bcc460ac4eab71f5064d7ee7ba7d8eca@5764 9c30dcfa-912a-0410-8fc2-9e0234be79fd
dspace-api/src/main/java/org/dspace/storage/rdbms/TableRow.java
Remove unnecessary canonicalization
<ide><path>space-api/src/main/java/org/dspace/storage/rdbms/TableRow.java <ide> <ide> boolean isColumnNullCanonicalized(String column) <ide> { <del> return data.get(canonicalizeAndCheck(column)) == NULL_OBJECT; <add> return data.get(column) == NULL_OBJECT; <ide> } <ide> <ide> /**
JavaScript
mit
d38e61605795ffb03586cec3a47b7487383ee07d
0
jd2rogers2/presently,jd2rogers2/presently,jd2rogers2/presently
(function(){ 'use strict'; function profileController($scope, Auth, $state, $stateParams, itemFactory, userFactory, $filter, friendshipFactory){ var userCtrl = this; Auth.currentUser().then(function(data){ $scope.currentUser = data; }); userFactory.get({id: $stateParams.id}).$promise.then(fun...
app/assets/javascripts/controllers/profileController.js
(function(){ 'use strict'; function profileController($scope, Auth, $state, $stateParams, itemFactory, userFactory, $filter, friendshipFactory){ var userCtrl = this; Auth.currentUser().then(function(data){ $scope.currentUser = data; }); userFactory.get({id: $stateParams.id}).$promise.then(fun...
purchase and unpurchase buttons from userProfile working
app/assets/javascripts/controllers/profileController.js
purchase and unpurchase buttons from userProfile working
<ide><path>pp/assets/javascripts/controllers/profileController.js <ide> <ide> $scope.purchase = function(item){ <ide> item.purchaser_id = $scope.currentUser.id; <del> var temp = {items: item, id: item.id, plzrender: $scope.viewUser.id} <add> var temp = {items: item, id: item.id, plzrender: 'list'} ...
JavaScript
mit
b9355602bd632692fbca188dbb8976ee8b1f56b5
0
xjewer/GeonamesServer,xjewer/GeonamesServer,Jumplead/GeonamesServer,Jumplead/GeonamesServer,Jumplead/GeonamesServer,Jumplead/GeonamesServer,xjewer/GeonamesServer
var request = require('supertest'); var assert = require('assert'); var app = require('../server'); describe('App', function() { describe('GET /find_city', function() { it('responds with a non-XML file', function(done) { request(app) .get('/f...
test/app.js
var request = require('supertest'); var assert = require('assert'); var app = require('../server'); describe('App', function() { describe('GET /find_city', function() { it('responds with a non-XML file', function(done) { request(app) .get('/find_city') .set('Accept', 'application/XML') .exp...
updated test files
test/app.js
updated test files
<ide><path>est/app.js <ide> var app = require('../server'); <ide> <ide> describe('App', function() { <del> describe('GET /find_city', function() { <del> it('responds with a non-XML file', function(done) { <del> request(app) <del> .get('/find_city') <del> .set('Accept', 'application/XML') <del> .ex...
Java
lgpl-2.1
3c3ede2283d9746c39ecbdf16e046ea24b0c94ae
0
dd00/commandergenius,sexroute/commandergenius,dd00/commandergenius,pelya/commandergenius,sexroute/commandergenius,pelya/commandergenius,dd00/commandergenius,dd00/commandergenius,pelya/commandergenius,dd00/commandergenius,dd00/commandergenius,sexroute/commandergenius,dd00/commandergenius,pelya/commandergenius,sexroute/c...
/* Simple DirectMedia Layer Java source code (C) 2009-2014 Sergii Pylypenko This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpo...
project/java/MainActivity.java
/* Simple DirectMedia Layer Java source code (C) 2009-2014 Sergii Pylypenko This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpo...
Reverting my commit which did not help to fix the black bar bug
project/java/MainActivity.java
Reverting my commit which did not help to fix the black bar bug
<ide><path>roject/java/MainActivity.java <ide> } <ide> DimSystemStatusBar.get().dim(_videoLayout); <ide> } <del> // Hackish way to set immersive mode, it seems to need some delay before we can create surfaces <ide> runOnUiThread(new Runnable() <ide> { <ide> public void run() <ide> { <...
Java
mit
dfd9e6089c2d72b8c074132bd00edc22fdbeca73
0
breadwallet/breadwallet-android,litecoin-foundation/loafwallet-android,breadwallet/breadwallet-android,breadwallet/breadwallet-android,litecoin-foundation/loafwallet-android,breadwallet/breadwallet-android
package com.breadwallet.tools.security; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.os.NetworkOnMainThreadException; import android.util.Log; import android.widget.Toast; import com.breadwallet.R; import com.breadwallet.presenter.activities.Bread...
app/src/main/java/com/breadwallet/tools/security/BRSender.java
package com.breadwallet.tools.security; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.os.NetworkOnMainThreadException; import android.util.Log; import android.widget.Toast; import com.breadwallet.R; import com.breadwallet.presenter.activities.Bread...
fix unresponsive send button
app/src/main/java/com/breadwallet/tools/security/BRSender.java
fix unresponsive send button
<ide><path>pp/src/main/java/com/breadwallet/tools/security/BRSender.java <ide> return; <ide> } <ide> if (maxAmountDouble == 0) { <del> BRDialog.showCustomDialog(app, app.getString(R.string.Alerts_sendFailure), "Insufficient amount for transaction fee, send maximum amount?", app.ge...
JavaScript
apache-2.0
3aa6ede12cb5aa4fddf4f1a0fb02fde4681285d6
0
brettsloan/brettsloan.github.io,brettsloan/brettsloan.github.io,brettsloan/brettsloan.github.io
V1.4/scripts/gen_validatorv31.js
/* ------------------------------------------------------------------------- JavaScript Form Validator (gen_validatorv31.js) Version 3.1.2 Copyright (C) 2003-2008 JavaScript-Coder.com. All rights reserved. You can freely use this script in your Web pages. You may adapt this script for your ow...
Delete gen_validatorv31.js
V1.4/scripts/gen_validatorv31.js
Delete gen_validatorv31.js
<ide><path>1.4/scripts/gen_validatorv31.js <del>/* <del> ------------------------------------------------------------------------- <del> JavaScript Form Validator (gen_validatorv31.js) <del> Version 3.1.2 <del> Copyright (C) 2003-2008 JavaScript-Coder.com. All rights reserved. <del> You can freely ...
Java
apache-2.0
f7f8a483353bdf69a31249461647d1ede61e512e
0
jasonchaffee/PredictionIO,schon/PredictionIO,hsavit1/PredictionIO,EmergentOrder/PredictionIO,tastatur/PredictionIO,jingyidata/PredictionIO,net-shell/PredictionIO,sekaiamber/PredictionIO,marevol/incubator-predictionio,prmdsharma/PredictionIO,jlegendary/PredictionIO,TheDataShed/PredictionIO,mars/incubator-predictionio,Ri...
package io.prediction.examples.java.recommendations.tutorial4; import io.prediction.controller.java.LJavaServing; import io.prediction.controller.java.EmptyParams; import java.lang.Iterable; public class Serving extends LJavaServing<EmptyParams, Query, Float> { public Serving() {} public Float serve(Query query,...
examples/src/main/java/recommendations/tutorial4/Serving.java
package io.prediction.examples.java.recommendations.tutorial4; import io.prediction.controller.java.LJavaServing; import io.prediction.controller.java.EmptyParams; import java.lang.Iterable; public class Serving extends LJavaServing<EmptyParams, Query, Float> { public Serving(EmptyParams ep) {} public Float serv...
Use empty constructor for empty params.
examples/src/main/java/recommendations/tutorial4/Serving.java
Use empty constructor for empty params.
<ide><path>xamples/src/main/java/recommendations/tutorial4/Serving.java <ide> import java.lang.Iterable; <ide> <ide> public class Serving extends LJavaServing<EmptyParams, Query, Float> { <del> public Serving(EmptyParams ep) {} <add> public Serving() {} <ide> <ide> public Float serve(Query query, Iterable<Float> ...
Java
apache-2.0
df920d0965fb8c55651a242a9aedfbde02b5db57
0
blstream/StudyBox_Android
package com.blstream.studybox; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.support.design.widget.Snackbar; import android.view.View; /** * If device loses network connection for unspecified reason user will be warned in form of snackbar * showing him pr...
app/src/main/java/com/blstream/studybox/SnackbarManager.java
package com.blstream.studybox; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.support.design.widget.Snackbar; import android.view.View; /** * If device loses network connection for unspecified reason user will be warned in form of snackbar * showing him pr...
separate Context to Activity conversion add safeguard for Context to Activity conversion
app/src/main/java/com/blstream/studybox/SnackbarManager.java
separate Context to Activity conversion add safeguard for Context to Activity conversion
<ide><path>pp/src/main/java/com/blstream/studybox/SnackbarManager.java <ide> <ide> private Snackbar createSnackbar(final Context context) { <ide> <del> View rootView = ((Activity) context).getWindow().getDecorView().findViewById(android.R.id.content); <add> final Activity activity = (Activity) conte...
Java
mit
e1a085144f74e063ba5b01132dd12d85976f07cf
0
mhogrefe/qbar
package mho.qbar.objects; import mho.wheels.math.MathUtils; import mho.wheels.misc.BigDecimalUtils; import mho.wheels.misc.FloatingPointUtils; import mho.wheels.misc.Readers; import mho.wheels.ordering.Ordering; import mho.wheels.structures.Pair; import mho.wheels.structures.Triple; import org.jetbrains.annotations.No...
src/main/java/mho/qbar/objects/Rational.java
package mho.qbar.objects; import mho.wheels.math.BinaryFraction; import mho.wheels.math.MathUtils; import mho.wheels.misc.BigDecimalUtils; import mho.wheels.misc.FloatingPointUtils; import mho.wheels.misc.Readers; import mho.wheels.ordering.Ordering; import mho.wheels.structures.Pair; import mho.wheels.structures.Trip...
don't use BinaryFraction directly
src/main/java/mho/qbar/objects/Rational.java
don't use BinaryFraction directly
<ide><path>rc/main/java/mho/qbar/objects/Rational.java <ide> package mho.qbar.objects; <ide> <del>import mho.wheels.math.BinaryFraction; <ide> import mho.wheels.math.MathUtils; <ide> import mho.wheels.misc.BigDecimalUtils; <ide> import mho.wheels.misc.FloatingPointUtils; <ide> public static @NotNull Optional<Ratio...
Java
apache-2.0
c5839d3a067d1b46e42e6ed4342a127622586050
0
AxonFramework/AxonFramework
/* * Copyright (c) 2010-2022. Axon Framework * * 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 o...
messaging/src/main/java/org/axonframework/queryhandling/SimpleQueryBus.java
/* * Copyright (c) 2010-2022. Axon Framework * * 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 o...
Fix warnings - Add wildcard generics to the QuerySubscription - Adjust indentation according to styleguide - Suppress cast warning
messaging/src/main/java/org/axonframework/queryhandling/SimpleQueryBus.java
Fix warnings
<ide><path>essaging/src/main/java/org/axonframework/queryhandling/SimpleQueryBus.java <ide> <ide> private static final Logger logger = LoggerFactory.getLogger(SimpleQueryBus.class); <ide> <del> @SuppressWarnings("rawtypes") <del> private final ConcurrentMap<String, CopyOnWriteArrayList<QuerySubscription>> s...
Java
apache-2.0
feb892fbf739f5e845a7456e5c018fabdd6e9b66
0
DarinJ/storm,DarinJ/storm,salimane/storm,changreytang/storm-mesos,mesos/storm,salimane/storm,erikdw/storm-mesos,erikdw/storm-mesos,DarinJ/storm,salimane/storm,changreytang/storm-mesos,erikdw/storm-mesos,mesos/storm,mesos/storm,changreytang/storm-mesos
/** * 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...
src/main/storm/mesos/MesosNimbus.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...
2fbd817 incorrectly completely removed the setting of subtractedExecutorResources to true, reintroducing it in a more natural location
src/main/storm/mesos/MesosNimbus.java
2fbd817 incorrectly completely removed the setting of subtractedExecutorResources to true, reintroducing it in a more natural location
<ide><path>rc/main/storm/mesos/MesosNimbus.java <ide> offerResources = subtractResourcesScalar(offerResources, executorCpu, "cpus"); <ide> executorMemResources = getResourcesScalar(offerResources, executorMem, "mem"); <ide> offerResources = subtractResourcesScalar(offerResources, executorM...
Java
mit
82d625b70bd85410ab2bf6b3cb695c91a8739eec
0
broadinstitute/picard,alecw/picard,annkupi/picard,alecw/picard,nh13/picard,nh13/picard,broadinstitute/picard,nh13/picard,alecw/picard,annkupi/picard,nh13/picard,broadinstitute/picard,broadinstitute/picard,broadinstitute/picard,annkupi/picard,alecw/picard,annkupi/picard
/* * The MIT License * * Copyright (c) 2009 The Broad Institute * * 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...
src/tests/java/net/sf/picard/sam/MergeBamAlignmentTest.java
/* * The MIT License * * Copyright (c) 2009 The Broad Institute * * 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...
Fix CIGAR generation so there is not a 0-length element.
src/tests/java/net/sf/picard/sam/MergeBamAlignmentTest.java
Fix CIGAR generation so there is not a 0-length element.
<ide><path>rc/tests/java/net/sf/picard/sam/MergeBamAlignmentTest.java <ide> final int readLength = rec.getReadLength(); <ide> if (hitSpec.filtered) { <ide> // Add two insertions so alignment is filtered. <del> cigar.add(new CigarElement(readLength/2, CigarOperator.M)); <add> ...
Java
apache-2.0
81ed21ab7616b37912778007241642d1ca1171bf
0
megoesrawr/xerial.sqlite,angelLYK/sqlite-jdbc,xerial/sqlite-jdbc,angelLYK/sqlite-jdbc,megoesrawr/xerial.sqlite,boundlessgeo/sqlite-jdbc,xerial/sqlite-jdbc,davidjanmercado/sqlite-jdbc,jdeolive/sqlite-jdbc,megoesrawr/xerial.sqlite,vj-ug/sqlite-jdbc,walterDurin/sqlite-jdbc,angelLYK/sqlite-jdbc,jdeolive/sqlite-jdbc,xerial/...
/*-------------------------------------------------------------------------- * Copyright 2007 Taro L. Saito * * 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://ww...
src/main/java/org/xerial/db/sql/sqlite/SQLiteJDBCLoader.java
/*-------------------------------------------------------------------------- * Copyright 2007 Taro L. Saito * * 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://ww...
added a switch: sqlite.purejava = ture/false value git-svn-id: a8f5127056b4db8159e9552e897649390f235eb8@2268 ae02f08e-27ec-0310-ae8c-8ba02fe2eafd
src/main/java/org/xerial/db/sql/sqlite/SQLiteJDBCLoader.java
added a switch: sqlite.purejava = ture/false value
<ide><path>rc/main/java/org/xerial/db/sql/sqlite/SQLiteJDBCLoader.java <ide> if (extracted) <ide> return; <ide> <add> boolean runInPureJavaMode = Boolean.parseBoolean(System.getProperty("sqlite.purejava", "false")); <add> if (runInPureJavaMode) <add> { <add> extracte...
Java
apache-2.0
126d1fcc84199b3a248db6bdf3d3eee47d168437
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.sh.run; import com.intellij.execution.ExecutionManager; import com.intellij.execution.RunManager; import com.intellij.execution.RunnerAndConfigurationSetting...
plugins/sh/src/com/intellij/sh/run/ShRunFileAction.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.sh.run; import com.intellij.execution.ExecutionManager; import com.intellij.execution.RunManager; import com.intellij.execution.RunnerAndConfigurationSetting...
run shell: accept only comments which starts with #! as shebang (IDEA-259116) GitOrigin-RevId: 3e9edef497d5f4da9d03554d0d09e3b6e2ed1b64
plugins/sh/src/com/intellij/sh/run/ShRunFileAction.java
run shell: accept only comments which starts with #! as shebang (IDEA-259116)
<ide><path>lugins/sh/src/com/intellij/sh/run/ShRunFileAction.java <ide> import com.intellij.openapi.project.Project; <ide> import com.intellij.openapi.util.NlsSafe; <ide> import com.intellij.openapi.vfs.VirtualFile; <add>import com.intellij.psi.PsiComment; <ide> import com.intellij.psi.PsiElement; <ide> import com.inte...
Java
apache-2.0
ce594959b40d304e31372efa2f3bec0e423b6b21
0
hihiwjc/SuperSLiM,HKMOpen/SuperSLiM,0359xiaodong/SuperSLiM,msdgwzhy6/SuperSLiM,mkodekar/SuperSLiM,pacificIT/SuperSLiM,techierishi/SuperSLiM
package com.tonicartos.superslim; import android.content.Context; import android.content.res.TypedArray; import android.graphics.PointF; import android.graphics.Rect; import android.os.Parcel; import android.os.Parcelable; import android.support.v7.widget.LinearSmoothScroller; import android.support.v7.widget.Recycler...
library/src/main/java/com/tonicartos/superslim/LayoutManager.java
package com.tonicartos.superslim; import android.content.Context; import android.content.res.TypedArray; import android.graphics.PointF; import android.graphics.Rect; import android.os.Parcel; import android.os.Parcelable; import android.support.v7.widget.LinearSmoothScroller; import android.support.v7.widget.Recycler...
Default to non-smooth scrollbar. This is done because mixing different kinds of layouts completely screws up the smoothness. It is better jerky, or even, completely off.
library/src/main/java/com/tonicartos/superslim/LayoutManager.java
Default to non-smooth scrollbar.
<ide><path>ibrary/src/main/java/com/tonicartos/superslim/LayoutManager.java <ide> <ide> private boolean mDisableStickyHeaderDisplay = false; <ide> <del> private boolean mSmoothScrollEnabled = true; <add> private boolean mSmoothScrollEnabled = false; <ide> <ide> public boolean isSmoothScrollEnabled() { ...
Java
lgpl-2.1
error: pathspec 'sipXconfig/web/test/org/sipfoundry/sipxconfig/site/JettyUserRealm.java' did not match any file(s) known to git
da4bd10bafeccd32ad51be456aed0b797c098154
1
sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror
/* * * * Copyright (C) 2005 SIPfoundry Inc. * Licensed by SIPfoundry under the LGPL license. * * Copyright (C) 2005 Pingtel Corp. * Licensed to SIPfoundry under a Contributor Agreement. * * $ */ package org.sipfoundry.sipxconfig.site; import java.security.Principal; import org.mortbay.http.HttpRequest; ...
sipXconfig/web/test/org/sipfoundry/sipxconfig/site/JettyUserRealm.java
UserRealm class in support of SOAP auth, XCF-763 git-svn-id: f26ccc5efe72c2bd8e1c40f599fe313f2692e4de@5554 a612230a-c5fa-0310-af8b-88eea846685b
sipXconfig/web/test/org/sipfoundry/sipxconfig/site/JettyUserRealm.java
UserRealm class in support of SOAP auth, XCF-763
<ide><path>ipXconfig/web/test/org/sipfoundry/sipxconfig/site/JettyUserRealm.java <add>/* <add> * <add> * <add> * Copyright (C) 2005 SIPfoundry Inc. <add> * Licensed by SIPfoundry under the LGPL license. <add> * <add> * Copyright (C) 2005 Pingtel Corp. <add> * Licensed to SIPfoundry under a Contributor Agreement. <ad...
Java
apache-2.0
2e571363ecda1c49f0521dab04b70cbd7ef9d9cf
0
TDesjardins/gwt-ol3,TDesjardins/gwt-ol3,sebasbaumh/gwt-ol3,mazlixek/gwt-ol3,TDesjardins/GWT-OL3-Playground,TDesjardins/GWT-OL3-Playground,sebasbaumh/gwt-ol3,mazlixek/gwt-ol3,mazlixek/gwt-ol3,TDesjardins/gwt-ol3,TDesjardins/GWT-OL3-Playground,sebasbaumh/gwt-ol3
package ol; import com.google.gwt.core.client.js.JsType; import ol.event.Event; import ol.event.EventListener; /** * * @author Tino Desjardins * */ @JsType public interface Observable { <T extends Event> void on(String type , EventListener<T> eventListener); <T extends Event> void once(String ...
gwt-ol3-client/src/main/java/ol/Observable.java
package ol; import com.google.gwt.core.client.js.JsType; import ol.event.Event; import ol.event.EventListener; /** * * @author Tino Desjardins * */ @JsType public interface Observable { <T extends Event> void on(String type , EventListener<T> eventListener); }
Added methods for event handling
gwt-ol3-client/src/main/java/ol/Observable.java
Added methods for event handling
<ide><path>wt-ol3-client/src/main/java/ol/Observable.java <ide> <ide> <T extends Event> void on(String type , EventListener<T> eventListener); <ide> <add> <T extends Event> void once(String type , EventListener<T> eventListener); <add> <add> <T extends Event> void un(String type , EventListener<...
Java
apache-2.0
0f341f2d80b178f8175edd0488c07a4628acc6d6
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.actions; import com.intellij.ide.util.PlatformModuleRendererFactory; import com.intellij.ide.util.PsiElementListCellRenderer; import com.intellij.ide.uti...
platform/lang-impl/src/com/intellij/ide/actions/SearchEverywherePsiRenderer.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.actions; import com.intellij.ide.util.PlatformModuleRendererFactory; import com.intellij.ide.util.PsiElementListCellRenderer; import com.intellij.ide.uti...
IDEA-251477 SearchEverywhere: modules are cropped GitOrigin-RevId: bbee713fccb6b625989c44b5435dae43c78abbd8
platform/lang-impl/src/com/intellij/ide/actions/SearchEverywherePsiRenderer.java
IDEA-251477 SearchEverywhere: modules are cropped
<ide><path>latform/lang-impl/src/com/intellij/ide/actions/SearchEverywherePsiRenderer.java <ide> while (parts.size() > 1) { <ide> index = parts.size() / 2 - 1; <ide> parts.remove(index); <del> if (fm.stringWidth(StringUtil.join(parts, separator) + "...") < maxWidth) { <add> if (fm.stringWidth(...
Java
apache-2.0
ef64dbe331a31f0098525b86843ae8a6c156c242
0
Sable/mclab-core,Sable/mclab-core,Sable/mclab-core,Sable/mclab-core,Sable/mclab-core,Sable/mclab-core,Sable/mclab-core,Sable/mclab-core
package natlab.tame.tamerplus.analysis; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.Map; import java.util.Map.Entry; import java.util.Queue; import java.util.Set; import java.util.Vector; import natlab.tame.tamerplus.utils.NodePrinter; import natlab.tame.tir.TIRAr...
languages/Natlab/src/natlab/tame/tamerplus/analysis/TemporaryVariablesRemoval.java
package natlab.tame.tamerplus.analysis; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.Map; import java.util.Map.Entry; import java.util.Queue; import java.util.Set; import java.util.Vector; import natlab.tame.tamerplus.utils.NodePrinter; import natlab.tame.tir.TIRAr...
new method to get nodes with a common if Node added. Migrated from Sable/mclab@30b31be082132d204d7cf2347590c20d86be114a
languages/Natlab/src/natlab/tame/tamerplus/analysis/TemporaryVariablesRemoval.java
new method to get nodes with a common if Node added.
<ide><path>anguages/Natlab/src/natlab/tame/tamerplus/analysis/TemporaryVariablesRemoval.java <ide> private Set<String> fRemainingVariablesNames; <ide> private ReachingDefinitions reachingDef = null; <ide> private Set<ASTNode> shortCircuitIfStmtSet = new HashSet<ASTNode>(); <del> private Map<VarAndColorContainer, Set...
Java
bsd-3-clause
1513a9632ced2edc5be687008edcf1c73f545a9b
0
NCIP/c3pr,NCIP/c3pr,NCIP/c3pr
package edu.duke.cabig.c3pr.web.study; import edu.duke.cabig.c3pr.domain.Arm; import edu.duke.cabig.c3pr.domain.BookRandomization; import edu.duke.cabig.c3pr.domain.CalloutRandomization; import edu.duke.cabig.c3pr.domain.Epoch; import edu.duke.cabig.c3pr.domain.PhonecallRandomization; import edu.duke.cabig.c3pr.domain...
codebase/projects/web/src/java/edu/duke/cabig/c3pr/web/study/StudyDesignTab.java
package edu.duke.cabig.c3pr.web.study; import edu.duke.cabig.c3pr.domain.Arm; import edu.duke.cabig.c3pr.domain.BookRandomization; import edu.duke.cabig.c3pr.domain.CalloutRandomization; import edu.duke.cabig.c3pr.domain.Epoch; import edu.duke.cabig.c3pr.domain.PhonecallRandomization; import edu.duke.cabig.c3pr.domain...
added the null check
codebase/projects/web/src/java/edu/duke/cabig/c3pr/web/study/StudyDesignTab.java
added the null check
<ide><path>odebase/projects/web/src/java/edu/duke/cabig/c3pr/web/study/StudyDesignTab.java <ide> } <ide> } <ide> //Instantiating the appropriate randomization class and setting it in the epoch. <del> ArrayList epochList = (ArrayList)study.getEpochs(); <del> Epoch epoch; <del> TreatmentEpoch tEpoch; <del> ...
Java
mit
d015b6a1796e96cbdd2eaa3c56e6cba4681b6ed8
0
sunil3590/artificial-guy
package edu.ncsu.artificialGuy; import java.io.File; import java.nio.file.FileSystems; import java.nio.file.Path; import java.util.List; import java.util.Scanner; import edu.stanford.nlp.semgraph.SemanticGraph; import edu.stanford.nlp.semgraph.SemanticGraphEdge; public class ArtificialGuy { // mid-term // Knowled...
src/main/java/edu/ncsu/artificialGuy/ArtificialGuy.java
package edu.ncsu.artificialGuy; import java.io.File; import java.nio.file.FileSystems; import java.nio.file.Path; import java.util.List; import java.util.Scanner; import edu.stanford.nlp.semgraph.SemanticGraph; import edu.stanford.nlp.semgraph.SemanticGraphEdge; public class ArtificialGuy { // mid-term // Knowled...
preparing for submission
src/main/java/edu/ncsu/artificialGuy/ArtificialGuy.java
preparing for submission
<ide><path>rc/main/java/edu/ncsu/artificialGuy/ArtificialGuy.java <ide> continue; <ide> } <ide> <del> System.out.println(qDepGraphs); <del> <ide> // parts of the parsed question <ide> String verb = null; <ide> String subj = null; <ide> continue; <ide> } <ide> <del> // prints <del> ...
Java
apache-2.0
c4c4f59eb20a27156b78e1ba743c73dc52f86b42
0
EvilMcJerkface/Aeron,mikeb01/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,mikeb01/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,mikeb01/Aeron,real-logic/Aeron
/* * 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. */ package io.aeron.cluster; import io.aeron.Image; import io.aeron.Publication; import io.aeron.cluster.TestNode.TestService; import io....
aeron-cluster/src/test/java/io/aeron/cluster/FollowerRestartTest.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. */ package io.aeron.cluster; import io.aeron.Image; import io.aeron.Publication; import io.aeron.cluster.TestNode.TestService; import io....
Make the TC fail if the recover is not from the most recent snapshot + journal
aeron-cluster/src/test/java/io/aeron/cluster/FollowerRestartTest.java
Make the TC fail if the recover is not from the most recent snapshot + journal
<ide><path>eron-cluster/src/test/java/io/aeron/cluster/FollowerRestartTest.java <ide> // I'd expect NODE 2 recovers from the most recent snapshot + journal (which should be zero length because <ide> // of the clean shutdown) <ide> // but this is not the case: journal since the beginn...
Java
mpl-2.0
174e7d76fcde2273b75350e76be436911685a002
0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: PropertyBag.java,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2008-01-30 08:26:21 $ * * The Contents of this file are made available s...
dbaccess/qa/complex/dbaccess/PropertyBag.java
/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: PropertyBag.java,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2006-10-24 15:14:23 $ * * The Contents of this file are made available s...
INTEGRATION: CWS dba24d (1.3.156); FILE MERGED 2007/11/21 07:47:26 fs 1.3.156.1: silence some NetBeans 6 warnings
dbaccess/qa/complex/dbaccess/PropertyBag.java
INTEGRATION: CWS dba24d (1.3.156); FILE MERGED 2007/11/21 07:47:26 fs 1.3.156.1: silence some NetBeans 6 warnings
<ide><path>baccess/qa/complex/dbaccess/PropertyBag.java <ide> * <ide> * $RCSfile: PropertyBag.java,v $ <ide> * <del> * $Revision: 1.3 $ <del> * <del> * last change: $Author: hr $ $Date: 2006-10-24 15:14:23 $ <add> * $Revision: 1.4 $ <add> * <add> * last change: $Author: rt $ $Date: 2008-01-30 08:26:21 $ <ide> ...
Java
apache-2.0
da45ea49883b2b0e2aad4ce2c738a61bf4e59b9f
0
bmaupin/android-sms-plus
/* * Copyright (C) 2009 The Android Open Source Project * * 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/com/android/mms/data/WorkingMessage.java
/* * Copyright (C) 2009 The Android Open Source Project * * 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...
Honor subject charset When retrieving the subject from the pdu, we have to look at the subject char set and use that value to decode the string.
src/com/android/mms/data/WorkingMessage.java
Honor subject charset
<ide><path>rc/com/android/mms/data/WorkingMessage.java <ide> // Draft message stuff <ide> <ide> private static final String[] MMS_DRAFT_PROJECTION = { <del> Mms._ID, // 0 <del> Mms.SUBJECT // 1 <add> Mms._ID, // 0 <add> Mms.SUBJECT, // 1 <add> ...
JavaScript
mpl-2.0
af38c73c032d50886151793164bf60dfd6d42d5f
0
nohamelin/simple-locale-switcher
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ var simplels = (function() { // Our global simplels container is defined via a closure for to get // ...
chrome/content/overlay.js
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ var simplels = (function() { // Our global simplels container is defined via a closure for to get // ...
Drop the use of expresion closures A non-standard SpiderMonkey extension, soon to be deprecated: https://bugzilla.mozilla.org/show_bug.cgi?id=995610 Arrow functions can be handy in many of these cases, but not before dropping the support of Gecko 23.
chrome/content/overlay.js
Drop the use of expresion closures
<ide><path>hrome/content/overlay.js <ide> this.updateDescriptionsBroadcaster(); <ide> this.updateCustomProviderBroadcaster(); <ide> <del> window.setTimeout(function() simplels.tryToUpdateToolbarButton(), 60); <add> window.setTimeout(function() { <add> simplels.tryToUpdateToolba...
Java
artistic-2.0
f465ebcc6d37d6cc86e2be024139ba0e625d50f4
0
tsearle/script
package com.sipstacks.script; import java.io.Reader; import java.util.ArrayList; import java.util.Hashtable; import java.util.Stack; import java.util.List; import java.util.Random; import org.json.simple.*; import java.util.regex.Pattern; import java.util.regex.Matcher; public class Script{ Stack<Hashtable <Stri...
src/main/java/com/sipstacks/script/Script.java
package com.sipstacks.script; import java.io.Reader; import java.util.ArrayList; import java.util.Hashtable; import java.util.Stack; import java.util.List; import java.util.Random; import org.json.simple.*; import java.util.regex.Pattern; import java.util.regex.Matcher; public class Script{ Stack<Hashtable <Stri...
more renaming of Command to Statement
src/main/java/com/sipstacks/script/Script.java
more renaming of Command to Statement
<ide><path>rc/main/java/com/sipstacks/script/Script.java <ide> <ide> <ide> this.func_name = scanner.getToken(); <del> this.cmd = new ScopedStatement(getCommand()); <add> this.cmd = new ScopedStatement(getStatement()); <ide> if (cmd == null) { <del> throw new ScriptParseException("sub: missing command", s...
Java
apache-2.0
0d20dbb360ed786f45ca9d0fcce0c01b275af6b5
0
antag99/libgdx,bladecoder/libgdx,tell10glu/libgdx,xoppa/libgdx,FyiurAmron/libgdx,zhimaijoy/libgdx,junkdog/libgdx,gdos/libgdx,katiepino/libgdx,xranby/libgdx,bgroenks96/libgdx,saqsun/libgdx,lordjone/libgdx,UnluckyNinja/libgdx,ThiagoGarciaAlves/libgdx,czyzby/libgdx,libgdx/libgdx,ninoalma/libgdx,Dzamir/libgdx,FredGithub/li...
/******************************************************************************* * Copyright 2013 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:...
gdx/src/com/badlogic/gdx/maps/tiled/renderers/BatchTiledMapRenderer.java
package com.badlogic.gdx.maps.tiled.renderers; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.maps.MapLayer; import com.badlogic.gdx.maps.MapObject; import com.badlogic.gdx.maps.tiled.TiledMap; import com.badlogic.gdx.maps.tiled.T...
BatchTiledMapRenderer. Added license info
gdx/src/com/badlogic/gdx/maps/tiled/renderers/BatchTiledMapRenderer.java
BatchTiledMapRenderer. Added license info
<ide><path>dx/src/com/badlogic/gdx/maps/tiled/renderers/BatchTiledMapRenderer.java <add>/******************************************************************************* <add> * Copyright 2013 See AUTHORS file. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this ...
Java
bsd-3-clause
ff76039d17e1e669d2e0fa863b316c09985324a0
0
asamgir/openspecimen,asamgir/openspecimen,asamgir/openspecimen,krishagni/openspecimen,krishagni/openspecimen,krishagni/openspecimen
/* * @author * */ package edu.wustl.catissuecore.action.annotations; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.HashSet; import java.util.Iterator; import java.util.List; import javax.servlet.http.HttpServletRequest; i...
WEB-INF/src/edu/wustl/catissuecore/action/annotations/LoadAnnotationDataEntryPageAction.java
/* * @author * */ package edu.wustl.catissuecore.action.annotations; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.HashSet; import java.util.Iterator; import java.util.List; import javax.servlet.http.HttpServletRequest; i...
-- Bug 11822 : Performance Issue with the form associated with 12 k specimens SVN-Revision: 18853
WEB-INF/src/edu/wustl/catissuecore/action/annotations/LoadAnnotationDataEntryPageAction.java
-- Bug 11822 : Performance Issue with the form associated with 12 k specimens
<ide><path>EB-INF/src/edu/wustl/catissuecore/action/annotations/LoadAnnotationDataEntryPageAction.java <ide> * @param dynEntContainerId Dynamic Extensions Container Id <ide> * @throws CacheException fails to retrieve object from cache <ide> * @throws BizLogicException fails to retrieve bizLogic Object <add> * @t...
Java
epl-1.0
4f83a35f4ace3a7520725ac1af198523bcd2091b
0
sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt
/******************************************************************************* * Copyright (c) 2005, 2008 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 av...
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetParametersPage.java
/******************************************************************************* * Copyright (c) 2005, 2008 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 av...
CheckIn:Fix bugzilla bug Bug 279213 Update the error message after reset data set parameter
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetParametersPage.java
CheckIn:Fix bugzilla bug Bug 279213 Update the error message after reset data set parameter
<ide><path>I/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetParametersPage.java <ide> } <ide> refreshPositions( ); <ide> setPageProperties( ); <add> refreshMessage( ); <ide> } <ide> catch ( Exception e ) <ide> {
Java
apache-2.0
26ecfcdcffd0cd9d18c8fc5f0c98fabca06185fb
0
MovingBlocks/Terasology,MovingBlocks/Terasology,MovingBlocks/Terasology,Nanoware/Terasology,Nanoware/Terasology,Nanoware/Terasology
// Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.world.chunks.localChunkProvider; import com.google.common.collect.Maps; import org.joml.Vector3i; import org.joml.Vector3ic; import org.terasology.engine.entitySystem.entity.EntityRef; import org.terasology...
engine/src/main/java/org/terasology/engine/world/chunks/localChunkProvider/RelevanceSystem.java
// Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.world.chunks.localChunkProvider; import com.google.common.collect.Maps; import org.joml.Vector3i; import org.joml.Vector3ic; import org.terasology.engine.entitySystem.entity.EntityRef; import org.terasology...
feat(RelevanceSystem): addRelevanceEntity returns the relevant region
engine/src/main/java/org/terasology/engine/world/chunks/localChunkProvider/RelevanceSystem.java
feat(RelevanceSystem): addRelevanceEntity returns the relevant region
<ide><path>ngine/src/main/java/org/terasology/engine/world/chunks/localChunkProvider/RelevanceSystem.java <ide> import org.terasology.engine.world.RelevanceRegionComponent; <ide> import org.terasology.engine.world.WorldComponent; <ide> import org.terasology.engine.world.block.BlockRegion; <add>import org.terasology.eng...
JavaScript
mit
2e0e17eb31cfad645431d03fb6d877f6f2984ad5
0
PhysicsEngine/ChouCream,PhysicsEngine/ChouCream,PhysicsEngine/ChouCream
var MongoClient = require('mongodb').MongoClient; var format = require('util').format; var MONGOHQ_URL = process.env['MONGOHQ_URL']; var ModelUtil = require('./ModelUtil.js'); /** * This model represents all public timeline * posted by each users * */ function PublicTL() { var self = this; } /** * Get pub...
model/db/PublicTL.js
var MongoClient = require('mongodb').MongoClient; var format = require('util').format; var MONGOHQ_URL = process.env['MONGOHQ_URL']; var ModelUtil = require('./ModelUtil.js'); function PublicTL() { var self = this; } PublicTL.prototype.fetch = function(limit, callback) { var self = this; function selectAc...
Write somecomments
model/db/PublicTL.js
Write somecomments
<ide><path>odel/db/PublicTL.js <ide> var MONGOHQ_URL = process.env['MONGOHQ_URL']; <ide> var ModelUtil = require('./ModelUtil.js'); <ide> <add>/** <add> * This model represents all public timeline <add> * posted by each users <add> * <add> */ <ide> function PublicTL() { <ide> var self = this; <ide> } <ide> <add...
Java
bsd-3-clause
0e861b36d3fdbf61463a93eb63acafd2c82f1893
0
interdroid/ibis-ipl,interdroid/ibis-ipl,interdroid/ibis-ipl
/* $Id$ */ package ibis.io; import ibis.util.TypedProperties; import java.io.IOException; import java.io.NotActiveException; import java.io.NotSerializableException; import java.io.ObjectOutput; import java.io.ObjectStreamClass; import java.lang.reflect.Method; /** * This is the <code>SerializationOutputStream</c...
src/ibis/io/IbisSerializationOutputStream.java
/* $Id$ */ package ibis.io; import ibis.util.TypedProperties; import java.io.IOException; import java.io.NotActiveException; import java.io.NotSerializableException; import java.io.ObjectOutput; import java.io.ObjectStreamClass; import java.lang.reflect.Method; /** * This is the <code>SerializationOutputStream</c...
small fix git-svn-id: f22e84ca493ccad7df8d2727bca69d1c9fc2e5c5@4261 aaf88347-d911-0410-b711-e54d386773bb
src/ibis/io/IbisSerializationOutputStream.java
small fix
<ide><path>rc/ibis/io/IbisSerializationOutputStream.java <ide> <ide> type_number = newType(clazz); <ide> lastTypeno = type_number; <add> lastClass = clazz; <ide> writeHandle(type_number); // TYPE_BIT is set, receiver sees it <ide> if (DEBUG) { <ide> dbPrint("wrote NEW...
Java
apache-2.0
e20496aa3b3284f2216af0dca143336223f12503
0
nilsga/trello-java-wrapper,bywan/trello-java-wrapper
package com.julienvey.trello.domain; import java.util.Date; import java.util.List; import java.util.Map; public class Board extends TrelloEntity { private String id; private String name; private String desc; private boolean closed; private String idOrganization; private boolean pinned; pr...
src/main/java/com/julienvey/trello/domain/Board.java
package com.julienvey.trello.domain; import java.util.Date; import java.util.List; import java.util.Map; public class Board extends TrelloEntity { private String id; private String name; private String desc; private boolean closed; private String idOrganization; private boolean pinned; pr...
Add new Trello fields
src/main/java/com/julienvey/trello/domain/Board.java
Add new Trello fields
<ide><path>rc/main/java/com/julienvey/trello/domain/Board.java <ide> private String shortUrl; <ide> private boolean subscribed; <ide> private Prefs prefs; <del> private Date dateLastActivity; <del> private Date dateLastView; <add> private Date dateLastActivity; <add> private Date dateLastView; <ide> ...
Java
bsd-3-clause
97e774ce982dc673db249a9a60f84c9179b9d444
0
ThreeTen/threetenbp,ThreeTen/threetenbp,naixx/threetenbp,jnehlmeier/threetenbp,jnehlmeier/threetenbp,pepyakin/threetenbp,naixx/threetenbp,pepyakin/threetenbp
/* * Copyright (c) 2011 Stephen Colebourne & Michael Nascimento Santos * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above...
src/main/java/javax/time/calendar/ISODateTimeRule.java
/* * Copyright (c) 2011 Stephen Colebourne & Michael Nascimento Santos * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above...
Fix ISODateTime to add missing return
src/main/java/javax/time/calendar/ISODateTimeRule.java
Fix ISODateTime to add missing return
<ide><path>rc/main/java/javax/time/calendar/ISODateTimeRule.java <ide> case SECOND_OF_DAY_ORDINAL: return field(time.toSecondOfDay()); <ide> case EPOCH_SECOND_ORDINAL: { <ide> if (date != null && offset != null) { <del> field(Off...
Java
apache-2.0
2f2a2c6d28dbdf49160996a8783f691330d18e74
0
JNOSQL/diana-driver,JNOSQL/diana-driver
/* * Copyright (c) 2017 Otávio Santana and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * The Eclipse Public License is available at http://ww...
elasticsearch-driver/src/test/java/org/jnosql/diana/elasticsearch/document/ElasticsearchDocumentCollectionManagerTest.java
/* * Copyright (c) 2017 Otávio Santana and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * The Eclipse Public License is available at http://ww...
Adds scenarios
elasticsearch-driver/src/test/java/org/jnosql/diana/elasticsearch/document/ElasticsearchDocumentCollectionManagerTest.java
Adds scenarios
<ide><path>lasticsearch-driver/src/test/java/org/jnosql/diana/elasticsearch/document/ElasticsearchDocumentCollectionManagerTest.java <ide> assertThat(entities, contains(entity)); <ide> } <ide> <add> @Test <add> public void shouldFindAll() { <add> entityManager.insert(getEntity()); <add> <add> ...
JavaScript
mit
bca85288d830d6d7c8330f7f8e763cda41479759
0
benjamintd/gaussian-mixture
'use strict'; // Imports var gaussian = require('gaussian'); var barycenter = require('./utilities/barycenter'); var _ = require('underscore'); // Constants var MAX_ITERATIONS = 200; var LOG_LIKELIHOOD_TOL = 1e-7; module.exports = GMM; function GMM(nComponents, weights, means, vars, options) { // nComponents: num...
index.js
'use strict'; // Imports var gaussian = require('gaussian'); var barycenter = require('./utilities/barycenter'); var _ = require('underscore'); // Constants var MAX_ITERATIONS = 200; var LOG_LIKELIHOOD_TOL = 1e-7; module.exports = GMM; function GMM(nComponents, weights, means, vars, options) { // nComponents: num...
Avoid NaN in log likelihood computation.
index.js
Avoid NaN in log likelihood computation.
<ide><path>ndex.js <ide> for (var k = 0; k < this.nComponents; k++) { <ide> p += this.weights[k] * gaussians[k].pdf(data[i]); <ide> } <del> l += Math.log(p); <add> if (p === 0) { <add> return -Infinity; <add> } else { <add> l += Math.log(p); <add> } <ide> } <ide> return l; <ide> ...
JavaScript
mit
62a0aaa48b83dbd1521b6be1799330f6880866a9
0
tmijs/tmi.js,d-4-ni/tmi.js,roberthartung/tmi.js,Schmoopiie/tmi.js
var api = require("./api"); var commands = require("./commands"); var eventEmitter = require("./events").EventEmitter; var logger = require("./logger"); var parser = require("./parser"); var timer = require("./timer"); var ws = global.WebSocket || global.MozWebSocket || require("ws"); var _ = require("./utils"); // Cl...
lib/client.js
var api = require("./api"); var commands = require("./commands"); var eventEmitter = require("./events").EventEmitter; var logger = require("./logger"); var parser = require("./parser"); var timer = require("./timer"); var ws = global.WebSocket || global.MozWebSocket || require("ws"); var _ = require("./utils"); // Cl...
client: emit boolean with join/part events This new, last argument is `true` when the name is the same as the client.
lib/client.js
client: emit boolean with join/part events
<ide><path>ib/client.js <ide> this.lastJoined = channel; <ide> this.channels.push(channel); <ide> this.log.info("Joined " + channel); <del> this.emit("join", channel, _.username(this.getUsername())); <add> ...
Java
apache-2.0
5dc9784f574ddb560750f1d00f1531aa61b3594f
0
baszero/yanel,wyona/yanel,wyona/yanel,baszero/yanel,wyona/yanel,wyona/yanel,baszero/yanel,wyona/yanel,baszero/yanel,baszero/yanel,wyona/yanel,baszero/yanel
/* * Copyright 2006 Wyona */ package org.wyona.yanel.impl.resources.calendar; import org.wyona.yanel.core.Resource; import org.wyona.yanel.core.api.attributes.CreatableV2; import org.wyona.yanel.core.api.attributes.ModifiableV2; import org.wyona.yanel.core.api.attributes.ViewableV2; import org.wyona.yanel.core.attr...
src/resources/calendar/src/java/org/wyona/yanel/impl/resources/calendar/CalendarResource.java
/* * Copyright 2006 Wyona */ package org.wyona.yanel.impl.resources.calendar; import org.wyona.yanel.core.Resource; import org.wyona.yanel.core.api.attributes.CreatableV2; import org.wyona.yanel.core.api.attributes.ModifiableV2; import org.wyona.yanel.core.api.attributes.ViewableV2; import org.wyona.yanel.core.attr...
logging upgraded
src/resources/calendar/src/java/org/wyona/yanel/impl/resources/calendar/CalendarResource.java
logging upgraded
<ide><path>rc/resources/calendar/src/java/org/wyona/yanel/impl/resources/calendar/CalendarResource.java <ide> <ide> import org.wyona.yanel.impl.resources.calendar.CalendarEvent; <ide> <del>import org.apache.log4j.Logger; <add>import org.apache.logging.log4j.Logger; <add>import org.apache.logging.log4j.LogManager; <id...
Java
mit
19729279a18044e857c7fdc292ba2a3957baeaff
0
joltix/rehab-engine
package com.rehab.world; import javafx.scene.input.MouseEvent; public class Projectile extends Entity { private static final double MASS = 0.1; private static final double HEALTH_MAX = 1; public static final double DAMAGE_DEFAULT = 1d; private Actor mOwner; private double mDamage = 1; public Projectile(Ac...
src/com/rehab/world/Projectile.java
package com.rehab.world; public class Projectile extends Entity { private static final double MASS = 0.1; private static final double HEALTH_MAX = 1; public static final double DAMAGE_DEFAULT = 1d; private Actor mOwner; private double mDamage = 1; public Projectile(Actor owner, Hitbox h) { super(MASS, H...
Updated to block more specific mouse click callbacks
src/com/rehab/world/Projectile.java
Updated to block more specific mouse click callbacks
<ide><path>rc/com/rehab/world/Projectile.java <ide> package com.rehab.world; <ide> <add>import javafx.scene.input.MouseEvent; <ide> <ide> public class Projectile extends Entity { <ide> <ide> } <ide> <ide> @Override <del> public void onClick() { throw new UnsupportedOperationException("Projectiles should not be cl...
Java
agpl-3.0
730d972270abba18e45177942fd9a8e7cb4e1625
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
1829e13e-2e61-11e5-9284-b827eb9e62be
hello.java
18246f6a-2e61-11e5-9284-b827eb9e62be
1829e13e-2e61-11e5-9284-b827eb9e62be
hello.java
1829e13e-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>18246f6a-2e61-11e5-9284-b827eb9e62be <add>1829e13e-2e61-11e5-9284-b827eb9e62be
JavaScript
mit
3ddc9bc11f7fabf34ad390505f87bae84f13a6e2
0
luciand90/streams-dev-tools
var express = require('express'), bodyParser = require('body-parser'), server = express(), expressValidator = require('express-validator'), request = require('request'), mysql = require('mysql'), util = require('util'), OAuthProvider = require('./lib/OAuthProvider.js'); var Promise = require...
index.js
var express = require('express'), bodyParser = require('body-parser'), server = express(), expressValidator = require('express-validator'), request = require('request'), mysql = require('mysql'), util = require('util'), OAuthProvider = require('./lib/OAuthProvider.js'); var Promise = require...
Fixed request ans response format.
index.js
Fixed request ans response format.
<ide><path>ndex.js <ide> this.debugMode = false; <ide> <ide> /******Private******/ <del> var portNumber = 3500, token, streamUID, streamType, hasSettings = true, devMode = false, defaultSettings = "", pushURL = "http://localhost:8080/VectorCloud/rest/v1/app/push", self = this;//52.16.43.57 <add> var port...
Java
agpl-3.0
e1d22bde830da8704893d7d0a62028292d867de5
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
1d755640-2e62-11e5-9284-b827eb9e62be
hello.java
1d6ff6d2-2e62-11e5-9284-b827eb9e62be
1d755640-2e62-11e5-9284-b827eb9e62be
hello.java
1d755640-2e62-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>1d6ff6d2-2e62-11e5-9284-b827eb9e62be <add>1d755640-2e62-11e5-9284-b827eb9e62be
Java
apache-2.0
d5ee850afec476f69e35a33d843a1fbe3a7a3191
0
HelioGuilherme66/jitsi,HelioGuilherme66/jitsi,pplatek/jitsi,cobratbq/jitsi,Metaswitch/jitsi,cobratbq/jitsi,cobratbq/jitsi,HelioGuilherme66/jitsi,ringdna/jitsi,bebo/jitsi,gpolitis/jitsi,laborautonomo/jitsi,tuijldert/jitsi,laborautonomo/jitsi,iant-gmbh/jitsi,ibauersachs/jitsi,marclaporte/jitsi,level7systems/jitsi,Metaswi...
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.credentialsstorage; import java.security.*; import java.security.spec.*; import javax.crypto.*; import javax.crypto.spec.*; import...
src/net/java/sip/communicator/impl/credentialsstorage/AESCrypto.java
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.credentialsstorage; import java.security.*; import java.security.spec.*; import javax.crypto.*; import javax.crypto.spec.*; import...
Fix bug with password storage, where some characters would lead to passwords not being remembered correctly. This was because the UTF-8 character map is used for encryption, but the platform default is used for decryption (which is ANSI for Windows 7). UTF-8 is now used both ways.
src/net/java/sip/communicator/impl/credentialsstorage/AESCrypto.java
Fix bug with password storage, where some characters would lead to passwords not being remembered correctly. This was because the UTF-8 character map is used for encryption, but the platform default is used for decryption (which is ANSI for Windows 7). UTF-8 is now used both ways.
<ide><path>rc/net/java/sip/communicator/impl/credentialsstorage/AESCrypto.java <ide> try <ide> { <ide> decryptCipher.init(Cipher.DECRYPT_MODE, key); <del> return new String(decryptCipher.doFinal(Base64.decode(ciphertext))); <add> return new String(decryptCipher.doFinal(...
Java
lgpl-2.1
5ceb0bcbf8871856e6afb826e8139971ee3e0ce4
0
DethRaid/vulkan-mod,DethRaid/vulkan-mod,DethRaid/vulkan-mod
import java.io.File; import java.lang.reflect.Field; import java.util.Arrays; import net.minecraft.client.main.Main; public class Start { public static void main(String[] args) { Main.main(concat(new String[] {"--version", "mcp", "--accessToken", "0", "--assetsDir", "assets", "--assetIndex", "1.10", "...
src/main/java/Start.java
import java.io.File; import java.lang.reflect.Field; import java.util.Arrays; import net.minecraft.client.main.Main; public class Start { public static void main(String[] args) { Main.main(concat(new String[] {"--version", "mcp", "--accessToken", "0", "--assetsDir", "assets", "--assetIndex", "1.8", "-...
Fix Version From 1.8 to 1.10
src/main/java/Start.java
Fix Version
<ide><path>rc/main/java/Start.java <ide> { <ide> public static void main(String[] args) <ide> { <del> Main.main(concat(new String[] {"--version", "mcp", "--accessToken", "0", "--assetsDir", "assets", "--assetIndex", "1.8", "--userProperties", "{}"}, args)); <add> Main.main(concat(new String[] {"--...
Java
mit
9e38dbe93f1b6f468dee92022a11675b929b5f91
0
recena/ssh-credentials-plugin,jenkinsci/ssh-credentials-plugin,recena/ssh-credentials-plugin,jenkinsci/ssh-credentials-plugin,recena/ssh-credentials-plugin
package com.cloudbees.jenkins.plugins.sshcredentials; /** * @author stephenc * @since 25/10/2012 15:20 */ public class SSHAuthenticatorException extends RuntimeException { public SSHAuthenticatorException() { super(); } public SSHAuthenticatorException(Throwable cause) { super(cause); ...
src/main/java/com/cloudbees/jenkins/plugins/sshcredentials/SSHAuthenticatorException.java
package com.cloudbees.jenkins.plugins.sshcredentials; import com.jcraft.jsch.JSchException; /** * @author stephenc * @since 25/10/2012 15:20 */ public class SSHAuthenticatorException extends RuntimeException { public SSHAuthenticatorException() { super(); } public SSHAuthenticatorException(Thr...
Unused import.
src/main/java/com/cloudbees/jenkins/plugins/sshcredentials/SSHAuthenticatorException.java
Unused import.
<ide><path>rc/main/java/com/cloudbees/jenkins/plugins/sshcredentials/SSHAuthenticatorException.java <ide> package com.cloudbees.jenkins.plugins.sshcredentials; <del> <del>import com.jcraft.jsch.JSchException; <ide> <ide> /** <ide> * @author stephenc
Java
apache-2.0
ab92bfab97c0321389f56e6b04015d0d78c7e55b
0
mtransitapps/parser,mtransitapps/parser
package org.mtransit.parser.gtfs; import org.apache.commons.csv.CSVFormat; import org.apache.commons.csv.CSVParser; import org.apache.commons.csv.CSVRecord; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import org.mtransit.parser.MTLog; import org.mtransit.parser.Utils; im...
src/main/java/org/mtransit/parser/gtfs/GReader.java
package org.mtransit.parser.gtfs; import org.apache.commons.csv.CSVFormat; import org.apache.commons.csv.CSVParser; import org.apache.commons.csv.CSVRecord; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import org.mtransit.parser.MTLog; import org.mtransit.parser.Utils; im...
Compatibility with calendar dates but no calendar
src/main/java/org/mtransit/parser/gtfs/GReader.java
Compatibility with calendar dates but no calendar
<ide><path>rc/main/java/org/mtransit/parser/gtfs/GReader.java <ide> } <ide> } <ide> // CALENDAR DATES <add> boolean hasCalendar = false; <ide> File calendarDateFile = new File(gtfsDir, GCalendarDate.FILENAME); <ide> if (!calendarDateFile.exists()) { <ide> MTLog.log("'%s' calendar date file does no...
Java
apache-2.0
c8e03ccbb95d729c7aa5dcd6154b1ff44f986b87
0
dashorst/wicket,freiheit-com/wicket,Servoy/wicket,mosoft521/wicket,mafulafunk/wicket,dashorst/wicket,zwsong/wicket,mosoft521/wicket,mosoft521/wicket,astrapi69/wicket,AlienQueen/wicket,AlienQueen/wicket,zwsong/wicket,astrapi69/wicket,bitstorm/wicket,topicusonderwijs/wicket,bitstorm/wicket,AlienQueen/wicket,mosoft521/wic...
/* * $Id: org.eclipse.jdt.ui.prefs 5004 2006-03-17 20:47:08 -0800 (Fri, 17 Mar * 2006) eelco12 $ $Revision: 5004 $ $Date: 2006-03-17 20:47:08 -0800 (Fri, 17 * Mar 2006) $ * * ============================================================================== * Licensed under the Apache License, Version 2.0 (the...
wicket/src/java/wicket/markup/html/image/NonCachingImage.java
/* * $Id: org.eclipse.jdt.ui.prefs 5004 2006-03-17 20:47:08 -0800 (Fri, 17 Mar * 2006) eelco12 $ $Revision: 5004 $ $Date: 2006-03-17 20:47:08 -0800 (Fri, 17 * Mar 2006) $ * * ============================================================================== * Licensed under the Apache License, Version 2.0 (the...
git-svn-id: https://svn.apache.org/repos/asf/incubator/wicket/trunk@460566 13f79535-47bb-0310-9956-ffa450edef68
wicket/src/java/wicket/markup/html/image/NonCachingImage.java
<ide><path>icket/src/java/wicket/markup/html/image/NonCachingImage.java <ide> { <ide> super.onComponentTag(tag); <ide> <del> String url = tag.getAttributes().getKey("src"); <add> String url = tag.getAttributes().getString("src"); <ide> url = url + ((url.indexOf("?") >= 0) ? "&" : "?"); <ide> url = url + "wick...
Java
bsd-3-clause
1e47441b2b7e2f43ffc12eb5c74c135320298db8
0
martiner/gooddata-java
/* * Copyright (C) 2004-2019, GoodData(R) Corporation. All rights reserved. * This source code is licensed under the BSD-style license found in the * LICENSE.txt file in the root directory of this source tree. */ package com.gooddata.sdk.service.project; import com.gooddata.sdk.common.collections.CustomPageRequest...
gooddata-java/src/test/java/com/gooddata/sdk/service/project/ProjectServiceAT.java
/* * Copyright (C) 2004-2019, GoodData(R) Corporation. All rights reserved. * This source code is licensed under the BSD-style license found in the * LICENSE.txt file in the root directory of this source tree. */ package com.gooddata.sdk.service.project; import com.gooddata.sdk.common.collections.CustomPageRequest...
Fix the wrongly refactored user listing cycle Resolves #905
gooddata-java/src/test/java/com/gooddata/sdk/service/project/ProjectServiceAT.java
Fix the wrongly refactored user listing cycle
<ide><path>ooddata-java/src/test/java/com/gooddata/sdk/service/project/ProjectServiceAT.java <ide> <ide> final List<User> users = new ArrayList<>(); <ide> Page<User> page; <del> while (!(page = projectService.listUsers(project, new CustomPageRequest(users.size(), 100))).hasNextPage()) { <add> ...
Java
apache-2.0
7f85c1a81692eeddb22c660305860a4178f3f443
0
ibm-datapower/ertool,ibm-datapower/ertool,ibm-datapower/ertool,ibm-datapower/ertool
/** * Copyright 2014-2016 IBM Corp. * * 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 agreed to ...
framework/src/com/ibm/datapower/er/Analytics/AnalyticsProcessor.java
/** * Copyright 2014-2016 IBM Corp. * * 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 agreed to ...
Fixes issue #7
framework/src/com/ibm/datapower/er/Analytics/AnalyticsProcessor.java
Fixes issue #7
<ide><path>ramework/src/com/ibm/datapower/er/Analytics/AnalyticsProcessor.java <ide> } <ide> } <ide> <del> if ( ordField.getFieldValue().startsWith(("{Condition:")) <add> if ( ordField.getFieldValue().startsWith("{Condition:")) <ide> ordValue = parseStringWithConditions( <ide> for...
JavaScript
mit
08b8a16f0860ebd1e4804617786ea58e94b18e65
0
smangelsdorf/prosemirror,ProseMirror/prosemirror
const {Schema, DOMParser} = require("prosemirror-model") const {EditorView, Decoration, DecorationSet} = require("prosemirror-view") const {EditorState, TextSelection, Plugin} = require("prosemirror-state") const {schema} = require("prosemirror-schema-basic") const {addListNodes} = require("prosemirror-schema-list") co...
demo/demo.js
const {Schema, DOMParser} = require("prosemirror-model") const {EditorView, Decoration, DecorationSet} = require("prosemirror-view") const {EditorState, TextSelection, Plugin} = require("prosemirror-state") const {schema} = require("prosemirror-schema-basic") const {addListNodes} = require("prosemirror-schema-list") co...
Remove accidentally commited node view in demo
demo/demo.js
Remove accidentally commited node view in demo
<ide><path>emo/demo.js <ide> marks: schema.spec.marks <ide> }) <ide> <del>class ParagraphView { <del> constructor(node) { <del> this.dom = this.contentDOM = document.createElement("p") <del> if (node.content.size == 0) this.dom.classList.add("empty") <del> } <del> <del> update(node) { <del> if (node.type...
Java
apache-2.0
dbda54bdfddfb48dd917aa39eb8c89884b39f8cb
0
Valkryst/VTerminal
package com.valkryst.VTerminal; import com.valkryst.VRadio.Radio; import com.valkryst.VTerminal.misc.ColorFunctions; import com.valkryst.VTerminal.misc.ColoredImageCache; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import javax.swing.Timer; import java.awt.Color; import java.awt.Graph...
src/com/valkryst/VTerminal/AsciiCharacter.java
package com.valkryst.VTerminal; import com.valkryst.VRadio.Radio; import com.valkryst.VTerminal.misc.ColorFunctions; import com.valkryst.VTerminal.misc.ColoredImageCache; import lombok.Getter; import lombok.Setter; import javax.swing.Timer; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Rectangle;...
Replaces equals/hashCode with Lombok annotation.
src/com/valkryst/VTerminal/AsciiCharacter.java
Replaces equals/hashCode with Lombok annotation.
<ide><path>rc/com/valkryst/VTerminal/AsciiCharacter.java <ide> import com.valkryst.VRadio.Radio; <ide> import com.valkryst.VTerminal.misc.ColorFunctions; <ide> import com.valkryst.VTerminal.misc.ColoredImageCache; <add>import lombok.EqualsAndHashCode; <ide> import lombok.Getter; <ide> import lombok.Setter; <ide> <ide>...
JavaScript
apache-2.0
39147eea019f4a9b7178c9db603b78ea709e81f6
0
kmi/node-red-contrib-swagger,kmi/node-red-contrib-swagger,lostinthestory/node-red-contrib-swagger,lostinthestory/node-red-contrib-swagger
/* * Copyright (c) 2014. Knowledge Media Institute - The Open University * * 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...
swagger/node-red-contrib-swagger.js
/* * Copyright (c) 2014. Knowledge Media Institute - The Open University * * 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...
Use strict. Better handling of authentication. Catch potential issues with input.
swagger/node-red-contrib-swagger.js
Use strict. Better handling of authentication. Catch potential issues with input.
<ide><path>wagger/node-red-contrib-swagger.js <ide> <ide> module.exports = function(RED) { <ide> <add> "use strict"; <add> <ide> function SwaggerCredentialsNode(n) { <ide> RED.nodes.createNode(this,n); <ide> } <ide> var node = this; <ide> var swagger = require('swagger-client'); <id...
Java
apache-2.0
61a7782126c4f71f8f27659ef51a41f246e84906
0
billy1380/blogwt,billy1380/blogwt,billy1380/blogwt
// // User.java // blogwt // // Created by William Shakour on May 11, 2015. // Copyright © 2015 WillShex Limited. All rights reserved. // package com.willshex.blogwt.shared.api.datatype; import java.util.ArrayList; import java.util.Date; import java.util.List; import com.google.gson.JsonArray; import com.google...
src/main/java/com/willshex/blogwt/shared/api/datatype/User.java
// // User.java // blogwt // // Created by William Shakour on May 11, 2015. // Copyright © 2015 WillShex Limited. All rights reserved. // package com.willshex.blogwt.shared.api.datatype; import java.util.ArrayList; import java.util.Date; import java.util.List; import com.google.gson.JsonArray; import com.google...
added user summary to user class
src/main/java/com/willshex/blogwt/shared/api/datatype/User.java
added user summary to user class
<ide><path>rc/main/java/com/willshex/blogwt/shared/api/datatype/User.java <ide> public String group; <ide> public String password; <ide> public Date lastLoggedIn; <add> public String summary; <ide> public Boolean verified; <ide> @Index public Date added; <ide> public Date expires; <ide> JsonElement jsonLastLogg...
JavaScript
mit
c557846082fbc86d69222b94c026e0fa4143df32
0
HPI-Hackathon/find-my-car,HPI-Hackathon/find-my-car
define("basevalues", ["backbone"], function(Backbone) { var BaseValues = Backbone.Model.extend({ // data attributes carclasses: [ { name: "Limousine", score: 0 }, { name: "Geländewagen/Pickup", score: 0 }, { name: "Kleinwagen", score: 0 }, { name: "Caprio/Roadster", score...
javascripts/model/basevalues.js
define("basevalues", ["backbone"], function(Backbone) { var BaseValues = Backbone.Model.extend({ // data attributes carclasses: [ { name: "Limousine", score: 0 }, { name: "Geländewagen/Pickup", score: 0 }, { name: "Kleinwagen", score: 0 }, { name: "Caprio/Roadster", score...
addBaseValue + resetBaseValue + add name
javascripts/model/basevalues.js
addBaseValue + resetBaseValue + add name
<ide><path>avascripts/model/basevalues.js <ide> { name: "Andere", score: 0 }, <ide> ], <ide> colors: [ <del> { color: "beige", score: 0 }, <del> { color: "gold", score: 0 }, <del> { color: "violett", score: 0 }, <del> { color: "yellow", score: 0 }, <del> { color: ...
Java
apache-2.0
24aa772433ee6445e279508095534e1011cdb4eb
0
level7systems/jitsi,jitsi/jitsi,martin7890/jitsi,HelioGuilherme66/jitsi,bebo/jitsi,mckayclarey/jitsi,pplatek/jitsi,gpolitis/jitsi,damencho/jitsi,tuijldert/jitsi,bebo/jitsi,dkcreinoso/jitsi,dkcreinoso/jitsi,laborautonomo/jitsi,mckayclarey/jitsi,gpolitis/jitsi,tuijldert/jitsi,laborautonomo/jitsi,pplatek/jitsi,459below/ji...
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.gui.main.presence; import java.awt.*; import java.awt.event.*; import java.beans.*; import javax.swing.*; import net.java.sip.comm...
src/net/java/sip/communicator/impl/gui/main/presence/GlobalStatusSelectorBox.java
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.gui.main.presence; import java.awt.*; import java.awt.event.*; import java.beans.*; import javax.swing.*; import net.java.sip.comm...
Does not show statuses other than Online/Offline when there is no provider to support them.
src/net/java/sip/communicator/impl/gui/main/presence/GlobalStatusSelectorBox.java
Does not show statuses other than Online/Offline when there is no provider to support them.
<ide><path>rc/net/java/sip/communicator/impl/gui/main/presence/GlobalStatusSelectorBox.java <ide> <ide> firstStatusIndex = getItemCount(); <ide> <del> addAvailableStatuses(); <add> if(isPresenceOpSetForProvidersAvailable()) <add> addAvailableStatuses(); <ide> <ide> group.add(...
Java
lgpl-2.1
9eb71526b91c9e5600a62ac155120e43150083a2
0
SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer
/* * AEPacket.java * * Created on October 29, 2005, 10:18 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ pack...
src/net/sf/jaer/aemonitor/AEPacket.java
/* * AEPacket.java * * Created on October 29, 2005, 10:18 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ package net.sf...
added isEmpty method
src/net/sf/jaer/aemonitor/AEPacket.java
added isEmpty method
<ide><path>rc/net/sf/jaer/aemonitor/AEPacket.java <ide> return this.capacity; <ide> } <ide> <add> /** Returns true if packet is empty <add> * <add> * @return true if empty, false otherwise <add> */ <add> public boolean isEmpty(){ <add> return getNumEvents()==0; <add> } <add> ...
Java
apache-2.0
387f9e4705063df704e21e82a46430727e1e76a6
0
przodownikR1/uaa,przodownikR1/uaa
package pl.java.scalatech; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringWriter; import java.nio.charset.Charset; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpS...
HystrixDashboard/src/main/java/pl/java/scalatech/MockStreamServlet.java
package pl.java.scalatech; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringWriter; import java.nio.charset.Charset; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpS...
dashboard
HystrixDashboard/src/main/java/pl/java/scalatech/MockStreamServlet.java
dashboard
JavaScript
mit
f97363c9c4f1f0dfe79a96b78a16d84a2a7cdf13
0
JamyDev/sanitize-html,punkave/sanitize-html,SaintPeter/sanitize-html,emorikawa/sanitize-html,YourDeveloperFriend/sanitize-html,zdravkoggeorgiev/sanitize-html
var htmlparser = require('htmlparser2'); var _ = require('lodash'); var ent = require('ent'); module.exports = sanitizeHtml; function sanitizeHtml(html, options) { var result = ''; if (!options) { options = sanitizeHtml.defaults; } else { _.defaults(options, sanitizeHtml.defaults); } // Tags that co...
index.js
var htmlparser = require('htmlparser2'); var _ = require('lodash'); var ent = require('ent'); module.exports = sanitizeHtml; function sanitizeHtml(html, options) { var result = ''; if (!options) { options = sanitizeHtml.defaults; } else { _.defaults(options, sanitizeHtml.defaults); } // Tags that co...
typo fix
index.js
typo fix
<ide><path>ndex.js <ide> <ide> var depth = 0; <ide> var skipMap = {}; <del> var transofrmMap = {}; <add> var transformMap = {}; <ide> var skipText = false; <ide> var parser = new htmlparser.Parser({ <ide> onopentag: function(name, attribs) { <ide> attribs = transformedTag.attribs; <ide> i...
JavaScript
mit
21e05c405971b81071ca4b9a8c26a4ad51c5a463
0
univthink/lilsnapppyproduction,univthink/lilsnapppyproduction
$(document).ready(function () { $('#results').empty; var userID = localStorage['userID']; var Snapster; var playlists = []; var currentTracks = []; var j; var obj = {}; var sendInfo; // $("#filename").focus(function (event) { $('#infoHeader').empty(); $('#infoHeader').append(...
authorization_code/public/js/upcomingSongs.js
$(document).ready(function () { $('#results').empty; var userID = localStorage['userID']; var Snapster; var playlists = []; var currentTracks = []; var j; var obj = {}; var sendInfo; // $("#filename").focus(function (event) { $('#infoHeader').empty(); $('#infoHeader').append(...
Update upcomingSongs.js
authorization_code/public/js/upcomingSongs.js
Update upcomingSongs.js
<ide><path>uthorization_code/public/js/upcomingSongs.js <ide> $('#results').append("<header alt='" + i + "' style='color: gray;' class='songLinkClick' id='songLinkClick" + i + "'>" + currentPLData.items[i].track.artists[0].name + "<br />" + currentPLData.items[i].track.name + "</header><...
Java
bsd-3-clause
5f00f17cfddb5187b97da5930ab8779717a755c7
0
BaseXdb/basex,dimitarp/basex,dimitarp/basex,dimitarp/basex,BaseXdb/basex,dimitarp/basex,dimitarp/basex,BaseXdb/basex,BaseXdb/basex,dimitarp/basex,dimitarp/basex,BaseXdb/basex,dimitarp/basex,BaseXdb/basex,dimitarp/basex,dimitarp/basex,BaseXdb/basex,BaseXdb/basex,BaseXdb/basex,BaseXdb/basex,BaseXdb/basex,dimitarp/basex,d...
package org.basex.io; import static org.junit.Assert.*; import org.basex.util.*; import org.junit.*; /** * Test class for IO methods. * * @author BaseX Team 2005-16, BSD License * @author Christian Gruen */ public final class IOTest { /** URL to file conversions. */ @Test public void urlToFile() { if(...
basex-core/src/test/java/org/basex/io/IOTest.java
package org.basex.io; import static org.junit.Assert.*; import org.basex.util.*; import org.junit.*; /** * Test class for IO methods. * * @author BaseX Team 2005-16, BSD License * @author Christian Gruen */ public final class IOTest { /** URL to file conversions. */ @Test public void urlToFile() { if(...
[MIN] XQuery, JUnit Linux tests updated
basex-core/src/test/java/org/basex/io/IOTest.java
[MIN] XQuery, JUnit Linux tests updated
<ide><path>asex-core/src/test/java/org/basex/io/IOTest.java <ide> assertEquals("C:/x y", IO.get("file://C:/x y").path()); <ide> assertEquals("D:/x+y", IO.get("file:///D:/x%2By").path()); <ide> assertEquals("G:/X", IO.get("file:///G:/X").path()); <add> assertEquals("G:/X/", IO.get("file:///G:/X/")...
JavaScript
mit
9081544c764e8293d251754e5ab263c594e453b7
0
tzulberti/entrenamiento-arqueria,tzulberti/entrenamiento-arqueria,tzulberti/entrenamiento-arqueria
/** * Controller que se usa para crear el grafico de cuantos arqueros hay en cada * estado en cada mes. */ var CantidadEstadosPorMesController = Class.$extend({ /** * Constructor. * * @param {jQuery} element: el elemento del DOM en donde es que se tiene que * grafica...
entrenamiento/static/js/apps/graficos/arqueros/cantidad-estados-por-mes-controller.js
/** * Controller que se usa para crear el grafico de cuantos arqueros hay en cada * estado en cada mes. */ var CantidadEstadosPorMesController = Class.$extend({ /** * Constructor. * * @param {jQuery} element: el elemento del DOM en donde es que se tiene que * grafica...
Solved #21
entrenamiento/static/js/apps/graficos/arqueros/cantidad-estados-por-mes-controller.js
Solved #21
<ide><path>ntrenamiento/static/js/apps/graficos/arqueros/cantidad-estados-por-mes-controller.js <ide> } <ide> <ide> <add> if (_.isEmpty(parsedData)) { <add> this.$element.unmask(); <add> this.$element.find('.chart-container').html('<h3>No se encontro información</h3>'); <add> ...
Java
agpl-3.0
4a7d236a045748b237e5648f2808e6c0cca3fa5b
0
Bram28/LEGUP,Bram28/LEGUP,Bram28/LEGUP
package edu.rpi.phil.legup.newgui; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Point; import java.awt.Polygon; import java.awt.Rectangle; import java.awt.RenderingHints; import ja...
code/edu/rpi/phil/legup/newgui/TreePanel.java
package edu.rpi.phil.legup.newgui; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Point; import java.awt.Polygon; import java.awt.Rectangle; import java.awt.RenderingHints; import ja...
drawTransition() edited: highlighting the arrow fixed. getSelectionAtPoint() edited: highlighting the arrow fixed. drawMouseOver() edited: now shows the justification again. git-svn-id: 7b60c18216eb38535f23d2b6dcb02b245ca483a0@279 361cd0e3-9505-6840-87d6-36ed75c01346
code/edu/rpi/phil/legup/newgui/TreePanel.java
drawTransition() edited: highlighting the arrow fixed. getSelectionAtPoint() edited: highlighting the arrow fixed. drawMouseOver() edited: now shows the justification again.
<ide><path>ode/edu/rpi/phil/legup/newgui/TreePanel.java <ide> { <ide> Graphics2D g2d = (Graphics2D)g; <ide> ArrayList <Selection> sel = Legup.getInstance().getSelections().getCurrentSelection(); <del> Selection theSelection = new Selection(parent,true); <add> Selection theSelection = new Selection(parent.getTran...
Java
agpl-3.0
f54b861ad8e4888d1267af15e3fded92a9bec417
0
UniversityOfHawaii/kfs,kuali/kfs,smith750/kfs,quikkian-ua-devops/kfs,bhutchinson/kfs,kkronenb/kfs,kuali/kfs,quikkian-ua-devops/will-financials,quikkian-ua-devops/kfs,ua-eas/kfs,quikkian-ua-devops/kfs,quikkian-ua-devops/will-financials,kkronenb/kfs,bhutchinson/kfs,quikkian-ua-devops/will-financials,UniversityOfHawaii/kf...
/* * Copyright 2008 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 requir...
work/src/org/kuali/kfs/module/purap/document/validation/impl/AccountsPayableBankCodeValidation.java
/* * Copyright 2008 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 requir...
optimize imports
work/src/org/kuali/kfs/module/purap/document/validation/impl/AccountsPayableBankCodeValidation.java
optimize imports
<ide><path>ork/src/org/kuali/kfs/module/purap/document/validation/impl/AccountsPayableBankCodeValidation.java <ide> */ <ide> package org.kuali.kfs.module.purap.document.validation.impl; <ide> <del>import org.kuali.kfs.fp.document.DisbursementVoucherDocument; <ide> import org.kuali.kfs.module.purap.PurapPropertyConsta...
Java
apache-2.0
ce218d9f4bcc1af4242708dc3d71c0833985cfc7
0
SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
gemfire-core/src/main/java/com/gemstone/gemfire/pdx/internal/TypeRegistry.java
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
added method in TypeRegistry to drop specific remote Pdx Type ID
gemfire-core/src/main/java/com/gemstone/gemfire/pdx/internal/TypeRegistry.java
added method in TypeRegistry to drop specific remote Pdx Type ID
<ide><path>emfire-core/src/main/java/com/gemstone/gemfire/pdx/internal/TypeRegistry.java <ide> */ <ide> package com.gemstone.gemfire.pdx.internal; <ide> <add>import java.util.Iterator; <ide> import java.util.Map; <ide> import java.util.concurrent.atomic.AtomicReference; <ide> <ide> <ide> } <ide> <add> publi...
Java
agpl-3.0
847224b7b702c38e83b31624a4bd1bb6e376756f
0
shunwang/sql-layer-1,shunwang/sql-layer-1,relateiq/sql-layer,relateiq/sql-layer,wfxiang08/sql-layer-1,shunwang/sql-layer-1,jaytaylor/sql-layer,relateiq/sql-layer,qiuyesuifeng/sql-layer,ngaut/sql-layer,qiuyesuifeng/sql-layer,ngaut/sql-layer,ngaut/sql-layer,wfxiang08/sql-layer-1,shunwang/sql-layer-1,ngaut/sql-layer,jayta...
/** * Copyright (C) 2011 Akiban Technologies Inc. * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * ...
src/test/java/com/akiban/server/test/it/keyupdate/KeyUpdateIT.java
/** * Copyright (C) 2011 Akiban Technologies Inc. * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * ...
Adding another set of assertEquals to checkDB(): that the expected number of rows are found
src/test/java/com/akiban/server/test/it/keyupdate/KeyUpdateIT.java
Adding another set of assertEquals to checkDB(): that the expected number of rows are found
<ide><path>rc/test/java/com/akiban/server/test/it/keyupdate/KeyUpdateIT.java <ide> public void before() throws Exception <ide> { <ide> testStore = new TestStore(persistitStore()); <add> rowDefsToCounts = new TreeMap<Integer, Integer>(); <ide> createSchema(); <ide> populateTables()...
Java
mit
478c0cd443293455881732bbf1f7a841a2b63762
0
JetBrains/ideavim,JetBrains/ideavim
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2016 The IdeaVim authors * * 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 ...
src/com/maddyhome/idea/vim/group/MotionGroup.java
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2016 The IdeaVim authors * * 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 ...
Replace block of code with function call
src/com/maddyhome/idea/vim/group/MotionGroup.java
Replace block of code with function call
<ide><path>rc/com/maddyhome/idea/vim/group/MotionGroup.java <ide> if (range == null) { <ide> return false; <ide> } <del> switch (range.getType()) { <del> case CHARACTER_WISE: <del> mode = CommandState.SubMode.VISUAL_CHARACTER; <del> break; <del> c...
Java
lgpl-2.1
a98adcfe48c8a858f9e98621c5a9dd9fdd25fe77
0
sewe/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2004,2005 University of Maryland * * 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 2.1 of the License, ...
findbugs/src/java/edu/umd/cs/findbugs/detect/LazyInit.java
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2004,2005 University of Maryland * * 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 2.1 of the License, ...
don't complain about lazy initialization in static initializers git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@12504 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
findbugs/src/java/edu/umd/cs/findbugs/detect/LazyInit.java
don't complain about lazy initialization in static initializers
<ide><path>indbugs/src/java/edu/umd/cs/findbugs/detect/LazyInit.java <ide> <ide> @Override <ide> public boolean prescreen(Method method, ClassContext classContext) { <add> if (method.getName().equals("<clinit>")) <add> return false; <ide> BitSet bytecodeSet = classContext.getBytecodeSet(method); <ide> if (byt...
Java
apache-2.0
24fbfc85fb989c2cbafd6459141b43347cbcf679
0
ptrd/jmeter-plugins,ptrd/jmeter-plugins,Sausageo/jmeter-plugins,Sausageo/jmeter-plugins,Sausageo/jmeter-plugins,ptrd/jmeter-plugins,ptrd/jmeter-plugins,Sausageo/jmeter-plugins,ptrd/jmeter-plugins,Sausageo/jmeter-plugins
package kg.apc.cmdtools; import java.text.DecimalFormatSymbols; import java.io.File; import java.io.IOException; import kg.apc.emulators.TestJMeterUtils; import org.apache.jmeter.util.JMeterUtils; import java.io.PrintStream; import java.util.ListIterator; import kg.apc.emulators.FilesTestTools; import org.junit.After;...
plugins/test/kg/apc/cmdtools/ReporterToolTest.java
package kg.apc.cmdtools; import java.text.DecimalFormatSymbols; import java.io.File; import java.io.IOException; import kg.apc.emulators.TestJMeterUtils; import org.apache.jmeter.util.JMeterUtils; import java.io.PrintStream; import java.util.ListIterator; import kg.apc.emulators.FilesTestTools; import org.junit.After;...
fix unit tests (to validate on Linux platform)
plugins/test/kg/apc/cmdtools/ReporterToolTest.java
fix unit tests (to validate on Linux platform)
<ide><path>lugins/test/kg/apc/cmdtools/ReporterToolTest.java <ide> int expResult = 0; <ide> int result = instance.processParams(PluginsCMD.argsArrayToListIterator(args)); <ide> assertEquals(expResult, result); <del> assertTrue(78 == f.length() || 81 == f.length()); // 78 at linux, 81 at w...
Java
agpl-3.0
6fd01fbae1654476f49e3dfdcf6ac254a397f099
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
8ba4510e-2e60-11e5-9284-b827eb9e62be
hello.java
8b9ed9c2-2e60-11e5-9284-b827eb9e62be
8ba4510e-2e60-11e5-9284-b827eb9e62be
hello.java
8ba4510e-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>8b9ed9c2-2e60-11e5-9284-b827eb9e62be <add>8ba4510e-2e60-11e5-9284-b827eb9e62be
Java
apache-2.0
12534c112a5544f4722e0e24068ad828e92057cd
0
GovernmentCommunicationsHeadquarters/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,gchq/Gaffer,gchq/Gaffer,gchq/Gaffer,gchq/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer
package uk.gov.gchq.gaffer.core.exception; import org.junit.After; import org.junit.Before; import org.junit.Test; import uk.gov.gchq.gaffer.commonutil.DebugUtil; import uk.gov.gchq.gaffer.core.exception.Error.ErrorBuilder; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; ...
core/exception/src/test/java/uk/gov/gchq/gaffer/core/exception/ErrorTest.java
package uk.gov.gchq.gaffer.core.exception; import org.junit.After; import org.junit.Before; import org.junit.Test; import uk.gov.gchq.gaffer.commonutil.DebugUtil; import uk.gov.gchq.gaffer.core.exception.Error.ErrorBuilder; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; ...
gh-987 - readded missing tests
core/exception/src/test/java/uk/gov/gchq/gaffer/core/exception/ErrorTest.java
gh-987 - readded missing tests
<ide><path>ore/exception/src/test/java/uk/gov/gchq/gaffer/core/exception/ErrorTest.java <ide> } <ide> <ide> @Test <add> public void shouldNotBuildDetailedMessageWithMissingPropertyFlag() { <add> // Given <add> setDebugMode(null); <add> <add> // When <add> final Error error = new ...
Java
apache-2.0
error: pathspec 'src/org/adligo/i/jse_adig/FileAppenderTokenTests.java' did not match any file(s) known to git
d0e82cc3fafe3e3d4764eb3f6dfbd5a8e62dd0ed
1
adligo/jse_adig_tests.adligo.org
package org.adligo.i.jse_adig; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import org.adligo.tests.ATest; public class FileAppenderTokenTests extends ATest { public void setUp() { DirectorySetup.setUp(); JseRegistry.setup(); } public void tearDow...
src/org/adligo/i/jse_adig/FileAppenderTokenTests.java
some new tests
src/org/adligo/i/jse_adig/FileAppenderTokenTests.java
some new tests
<ide><path>rc/org/adligo/i/jse_adig/FileAppenderTokenTests.java <add>package org.adligo.i.jse_adig; <add> <add>import java.io.File; <add>import java.io.FileWriter; <add>import java.io.IOException; <add>import java.util.ArrayList; <add> <add>import org.adligo.tests.ATest; <add> <add>public class FileAppenderTokenTests e...
Java
agpl-3.0
7462c0da8bbf3eea1fd8a415ad9e59f5ae9139c5
0
ama-axelor/axelor-business-suite,axelor/axelor-business-suite,axelor/axelor-business-suite,ama-axelor/axelor-business-suite,axelor/axelor-business-suite,ama-axelor/axelor-business-suite
/* * Axelor Business Solutions * * Copyright (C) 2018 Axelor (<http://axelor.com>). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed...
axelor-base/src/main/java/com/axelor/apps/base/service/administration/AbstractBatch.java
/* * Axelor Business Solutions * * Copyright (C) 2018 Axelor (<http://axelor.com>). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed...
FETCH_LIMIT = 10
axelor-base/src/main/java/com/axelor/apps/base/service/administration/AbstractBatch.java
FETCH_LIMIT = 10
<ide><path>xelor-base/src/main/java/com/axelor/apps/base/service/administration/AbstractBatch.java <ide> <ide> public abstract class AbstractBatch { <ide> <del> public static final int FETCH_LIMIT = 2; <add> public static final int FETCH_LIMIT = 10; <ide> <ide> @Inject <ide> protected AppBaseService appBaseS...
Java
bsd-3-clause
8d757f27df5a3683844ca77a3a46cadada00ec7d
0
FIRST-4030/2013
package edu.wpi.first.wpilibj.templates.helpers.solenoid; import edu.wpi.first.wpilibj.Solenoid; /** * * @author daboross */ public class SolenoidPair { private Solenoid extendingSolenoid; private Solenoid retractingSolenoid; private boolean extending = false; public SolenoidPair(int extendingSol...
src/edu/wpi/first/wpilibj/templates/helpers/solenoid/SolenoidPair.java
package edu.wpi.first.wpilibj.templates.helpers.solenoid; import edu.wpi.first.wpilibj.Solenoid; /** * * @author daboross */ public class SolenoidPair { private Solenoid extendingSolenoid; private Solenoid retractingSolenoid; private boolean extending = false; public SolenoidPair(int retractingSo...
Re organized constructor. I can do this because no classes are using the constructor
src/edu/wpi/first/wpilibj/templates/helpers/solenoid/SolenoidPair.java
Re organized constructor. I can do this because no classes are using the constructor
<ide><path>rc/edu/wpi/first/wpilibj/templates/helpers/solenoid/SolenoidPair.java <ide> private Solenoid retractingSolenoid; <ide> private boolean extending = false; <ide> <del> public SolenoidPair(int retractingSolenoidPort, int extendingSolenoidPort) { <add> public SolenoidPair(int extendingSolenoidPort...
Java
lgpl-2.1
1babca1bcd410248c2591b3e4792f99aa9d83369
0
pentaho/pentaho-commons-xul
package org.pentaho.ui.xul.gwt.generators; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import org.pentaho.ui.xul.XulEventSource; import org.pentaho.ui.xul.XulException; import com.google.gwt.core.ext.Generator; import com.google.gwt.core.ext.GeneratorContext; import com....
pentaho-xul-gwt/src/org/pentaho/ui/xul/gwt/generators/TypeControllerGenerator.java
package org.pentaho.ui.xul.gwt.generators; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import org.pentaho.ui.xul.XulEventSource; import org.pentaho.ui.xul.XulException; import com.google.gwt.core.ext.Generator; import com.google.gwt.core.ext.GeneratorContext; import com....
Updating verbosity and updated class generation counter.
pentaho-xul-gwt/src/org/pentaho/ui/xul/gwt/generators/TypeControllerGenerator.java
Updating verbosity and updated class generation counter.
<ide><path>entaho-xul-gwt/src/org/pentaho/ui/xul/gwt/generators/TypeControllerGenerator.java <ide> String superName = generateTypeKey(loopType); <ide> <ide> System.out.println(" generating inner type: "+superName); <add> totalClassCount++; <ide> for(JMethod m : loopType.getMet...
Java
mit
a67bf456e6403811d59326353b245b87cbe5abfd
0
ytimesru/kkm-pc-client
package org.bitbucket.ytimes.client.kkm.printer; import org.bitbucket.ytimes.client.main.Utils; import org.bitbucket.ytimes.client.kkm.record.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.StringUtils; import ru.atol.drivers10.fptr.Fptr; import ru.atol.drivers10.fptr.IFptr;...
src/main/java/org/bitbucket/ytimes/client/kkm/printer/AtolPrinter.java
package org.bitbucket.ytimes.client.kkm.printer; import org.bitbucket.ytimes.client.main.Utils; import org.bitbucket.ytimes.client.kkm.record.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.StringUtils; import ru.atol.drivers10.fptr.Fptr; import ru.atol.drivers10.fptr.IFptr;...
support com port for atol
src/main/java/org/bitbucket/ytimes/client/kkm/printer/AtolPrinter.java
support com port for atol
<ide><path>rc/main/java/org/bitbucket/ytimes/client/kkm/printer/AtolPrinter.java <ide> fptr.setSingleSetting(IFptr.LIBFPTR_SETTING_PORT, String.valueOf(IFptr.LIBFPTR_PORT_USB)); <ide> fptr.setSingleSetting(IFptr.LIBFPTR_SETTING_USB_DEVICE_PATH, "auto"); <ide> } <add> else if (port...
Java
mit
ef5be5ba7112957cbe384de488932c1a0877e30b
0
diirt/diirt,ControlSystemStudio/diirt,diirt/diirt,diirt/diirt,ControlSystemStudio/diirt,berryma4/diirt,ControlSystemStudio/diirt,berryma4/diirt,richardfearn/diirt,berryma4/diirt,richardfearn/diirt,diirt/diirt,ControlSystemStudio/diirt,richardfearn/diirt,berryma4/diirt
/** * Copyright (C) 2010-12 Brookhaven National Laboratory * All rights reserved. Use is subject to license terms. */ package org.epics.pvmanager; import org.epics.util.time.Timestamp; import org.hamcrest.BaseMatcher; import org.hamcrest.Description; import org.hamcrest.Matcher; /** * * @author carcassi */ publ...
PVManager/src/test/java/org/epics/pvmanager/TimeMatchers.java
/** * Copyright (C) 2010-12 Brookhaven National Laboratory * All rights reserved. Use is subject to license terms. */ package org.epics.pvmanager; import org.epics.pvmanager.util.TimeStamp; import org.epics.pvmanager.util.TimeInterval; import org.epics.util.time.Timestamp; import org.hamcrest.BaseMatcher; import or...
Removing time matcher on deprecated classes.
PVManager/src/test/java/org/epics/pvmanager/TimeMatchers.java
Removing time matcher on deprecated classes.
<ide><path>VManager/src/test/java/org/epics/pvmanager/TimeMatchers.java <ide> */ <ide> package org.epics.pvmanager; <ide> <del>import org.epics.pvmanager.util.TimeStamp; <del>import org.epics.pvmanager.util.TimeInterval; <ide> import org.epics.util.time.Timestamp; <ide> import org.hamcrest.BaseMatcher; <ide> import o...
JavaScript
mit
f18913b9d8f076525cc410acee71b4bd61458b14
0
formio/formio.js,formio/formio.js,formio/formio.js
import _ from 'lodash'; import NativePromise from 'native-promise-only'; import Formio from './Formio'; import WebformBuilder from './WebformBuilder'; import { fastCloneDeep, getElementRect } from './utils/utils'; import { eachComponent } from './utils/formUtils'; import BuilderUtils from './utils/builder'; import PDF...
src/PDFBuilder.js
import _ from 'lodash'; import NativePromise from 'native-promise-only'; import Formio from './Formio'; import WebformBuilder from './WebformBuilder'; import { fastCloneDeep, getElementRect } from './utils/utils'; import { eachComponent } from './utils/formUtils'; import BuilderUtils from './utils/builder'; import PDF...
force include all components
src/PDFBuilder.js
force include all components
<ide><path>rc/PDFBuilder.js <ide> originalComponent = comp; <ide> return true; <ide> } <del> }); <add> }, true); <ide> return { <ide> formioComponent: component.parent, <ide> formioContainer: container,
Java
mit
f899bf8f6b4346c7d8d3d0cdf74c28f3eb5ea393
0
concord-consortium/energy3d
package org.concord.energy3d; import java.io.File; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import javax.swing.JOptionPane; import javax.swing.UIManager; import org.concord.energy3d.gui.MainFrame; import org.concord.energy3d.logger.TimeSeriesLogger; import org....
src/main/java/org/concord/energy3d/MainApplication.java
package org.concord.energy3d; import java.io.File; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import javax.swing.JOptionPane; import javax.swing.UIManager; import org.concord.energy3d.gui.MainFrame; import org.concord.energy3d.scene.Scene; import org.concord.ener...
Added TimeSeriesLogger
src/main/java/org/concord/energy3d/MainApplication.java
Added TimeSeriesLogger
<ide><path>rc/main/java/org/concord/energy3d/MainApplication.java <ide> import javax.swing.UIManager; <ide> <ide> import org.concord.energy3d.gui.MainFrame; <add>import org.concord.energy3d.logger.TimeSeriesLogger; <ide> import org.concord.energy3d.scene.Scene; <ide> import org.concord.energy3d.scene.SceneManager; <id...
Java
apache-2.0
8440236904a48b1894b9015845ab8fc56ff7dbf2
0
puce77/org.ops4j.pax.cdi,ops4j/org.ops4j.pax.cdi,grgrzybek/org.ops4j.pax.cdi,tremes/org.ops4j.pax.cdi,ops4j/org.ops4j.pax.cdi,tremes/org.ops4j.pax.cdi,grgrzybek/org.ops4j.pax.cdi,techkrish/org.ops4j.pax.cdi,techkrish/org.ops4j.pax.cdi,puce77/org.ops4j.pax.cdi
/* * Copyright 2014 Harald Wellmann. * * 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 agreed to...
pax-cdi-samples/pax-cdi-sample5/src/main/java/org/ops4j/pax/cdi/sample5/impl/AbstractInstanceCountedService.java
/* * Copyright 2014 Harald Wellmann. * * 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 agreed to...
[PAXCDI-112] make test pass for weld1
pax-cdi-samples/pax-cdi-sample5/src/main/java/org/ops4j/pax/cdi/sample5/impl/AbstractInstanceCountedService.java
[PAXCDI-112] make test pass for weld1
<ide><path>ax-cdi-samples/pax-cdi-sample5/src/main/java/org/ops4j/pax/cdi/sample5/impl/AbstractInstanceCountedService.java <ide> <ide> protected int number; <ide> <add> public AbstractInstanceCountedService() { <add> <add> } <add> <ide> protected AbstractInstanceCountedService(int number) { <ide> ...
Java
apache-2.0
bb339a0b204bee515b89572044966a147bff732c
0
dschadow/JavaSecurity,dschadow/JavaSecurity,dschadow/JavaSecurity
/* * Copyright (C) 2016 Dominik Schadow, dominikschadow@gmail.com * * This file is part of the Java Security project. * * 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....
security-logging/src/main/java/de/dominikschadow/javasecurity/logging/servlets/LoginServlet.java
/* * Copyright (C) 2016 Dominik Schadow, dominikschadow@gmail.com * * This file is part of the Java Security project. * * 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....
Completed logging sample
security-logging/src/main/java/de/dominikschadow/javasecurity/logging/servlets/LoginServlet.java
Completed logging sample
<ide><path>ecurity-logging/src/main/java/de/dominikschadow/javasecurity/logging/servlets/LoginServlet.java <ide> String username = request.getParameter("username"); <ide> String password = request.getParameter("password"); <ide> <del> log.info(SecurityMarkers.CONFIDENTIAL, "User {} with password...
Java
apache-2.0
f7a8c5e86d5db48fdfa7936e9b85eb34af406c01
0
Jonatino/Abendigo-Offset-Scanner
package org.abendigo; import com.beaudoin.jmm.process.Module; import com.beaudoin.jmm.process.Process; import com.beaudoin.jmm.process.Processes; import com.sun.jna.Platform; import org.abendigo.netvars.NetVars; import org.abendigo.offsets.Offsets; /** * Created by Jonathan on 12/22/2015. */ public final class Offs...
src/main/java/org/abendigo/OffsetManager.java
package org.abendigo; import com.beaudoin.jmm.process.Module; import com.beaudoin.jmm.process.Processes; import com.sun.jna.Platform; import org.abendigo.netvars.NetVars; import org.abendigo.offsets.Offsets; /** * Created by Jonathan on 12/22/2015. */ public final class OffsetManager { private static Process proc...
Fixed wrong class being used
src/main/java/org/abendigo/OffsetManager.java
Fixed wrong class being used
<ide><path>rc/main/java/org/abendigo/OffsetManager.java <ide> package org.abendigo; <ide> <ide> import com.beaudoin.jmm.process.Module; <add>import com.beaudoin.jmm.process.Process; <ide> import com.beaudoin.jmm.process.Processes; <ide> import com.sun.jna.Platform; <ide> import org.abendigo.netvars.NetVars;
Java
mit
7cb04a12224ea9745172991ae353e509a99e6de2
0
DanilaFe/abacus,DanilaFe/abacus
package org.nwapw.abacus; import org.nwapw.abacus.config.ConfigurationObject; import org.nwapw.abacus.fx.AbacusApplication; import org.nwapw.abacus.number.NaiveNumber; import org.nwapw.abacus.number.NumberInterface; import org.nwapw.abacus.parsing.LexerTokenizer; import org.nwapw.abacus.parsing.ShuntingYardParser; imp...
src/main/java/org/nwapw/abacus/Abacus.java
package org.nwapw.abacus; import org.nwapw.abacus.config.ConfigurationObject; import org.nwapw.abacus.number.NaiveNumber; import org.nwapw.abacus.number.NumberInterface; import org.nwapw.abacus.parsing.LexerTokenizer; import org.nwapw.abacus.parsing.ShuntingYardParser; import org.nwapw.abacus.parsing.TreeBuilder; impo...
Switch to the new UI.
src/main/java/org/nwapw/abacus/Abacus.java
Switch to the new UI.
<ide><path>rc/main/java/org/nwapw/abacus/Abacus.java <ide> package org.nwapw.abacus; <ide> <ide> import org.nwapw.abacus.config.ConfigurationObject; <add>import org.nwapw.abacus.fx.AbacusApplication; <ide> import org.nwapw.abacus.number.NaiveNumber; <ide> import org.nwapw.abacus.number.NumberInterface; <ide> import or...
Java
apache-2.0
54db835d1a309862dd25492c7ce448ea1abc1e91
0
allure-framework/allure-java,allure-framework/allure-java
/* * Copyright 2019 Qameta Software 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 ...
allure-junit-platform/src/main/java/io/qameta/allure/junitplatform/AllureJunitPlatform.java
/* * Copyright 2019 Qameta Software 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 ...
fix face test case creation in Allure TestOps (via #509)
allure-junit-platform/src/main/java/io/qameta/allure/junitplatform/AllureJunitPlatform.java
fix face test case creation in Allure TestOps (via #509)
<ide><path>llure-junit-platform/src/main/java/io/qameta/allure/junitplatform/AllureJunitPlatform.java <ide> import static io.qameta.allure.model.Status.FAILED; <ide> import static io.qameta.allure.model.Status.PASSED; <ide> import static io.qameta.allure.model.Status.SKIPPED; <add>import static io.qameta.allure.util.Re...
JavaScript
bsd-2-clause
99491d4d78e124387deb04a44009b5a352acd5ea
0
landonb/ol3,landonb/ol3,landonb/ol3,landonb/ol3
goog.provide('ol.source.TileVector'); goog.provide('ol.source.TileVectorEventLoad'); goog.provide('ol.source.TileVectorEventLoadType'); goog.provide('ol.source.TileVectorEventLoaded'); goog.provide('ol.source.TileVectorEventLoadedType'); goog.provide('ol.source.TileVectorEventLoading'); goog.provide('ol.source.TileVect...
src/ol/source/tilevectorsource.js
goog.provide('ol.source.TileVector'); goog.provide('ol.source.TileVectorEvent'); goog.provide('ol.source.TileVectorEventType'); goog.require('goog.array'); goog.require('goog.asserts'); goog.require('goog.events.Event'); goog.require('goog.object'); goog.require('ol.TileCoord'); goog.require('ol.TileUrlFunction'); goo...
TileVector features: Two new events and an abortAll() fcn. - Rename TileVectorEvent to TileVectorEventLoad. - Add two new events, TileVectorEventLoading and TileVectorEventLoaded. - TileVectorEventLoading is dispatched when a vector tile source transitions from haven't no outstanding XHR requests to having o...
src/ol/source/tilevectorsource.js
TileVector features: Two new events and an abortAll() fcn.
<ide><path>rc/ol/source/tilevectorsource.js <ide> goog.provide('ol.source.TileVector'); <del>goog.provide('ol.source.TileVectorEvent'); <del>goog.provide('ol.source.TileVectorEventType'); <add>goog.provide('ol.source.TileVectorEventLoad'); <add>goog.provide('ol.source.TileVectorEventLoadType'); <add>goog.provide('ol.so...
Java
apache-2.0
07336d587c6e13f905b6e1b46f7850d3658df9d4
0
Aulust/async-http-client,olksdr/async-http-client,dotta/async-http-client,fengshao0907/async-http-client,elijah513/async-http-client,liuyb02/async-http-client,wyyl1/async-http-client,afelisatti/async-http-client,Aulust/async-http-client,hgl888/async-http-client,magiccao/async-http-client,ALEXGUOQ/async-http-client,crai...
/* * Copyright 2010 Ning, Inc. * * Ning 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 required by applic...
src/main/java/com/ning/http/client/providers/netty/NettyAsyncHttpProvider.java
/* * Copyright 2010 Ning, Inc. * * Ning 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 required by applic...
Drain channel and cache it if the keep-alive header is there, close it if not
src/main/java/com/ning/http/client/providers/netty/NettyAsyncHttpProvider.java
Drain channel and cache it if the keep-alive header is there, close it if not
<ide><path>rc/main/java/com/ning/http/client/providers/netty/NettyAsyncHttpProvider.java <ide> log.debug("Sending authentication to {}", request.getUrl()); <ide> AsyncCallable ac = new AsyncCallable(future) { <ide> public Object call() throws Exception { <...
Java
apache-2.0
995d6ae04a9cd333bbe51b742cfda59710a91d2d
0
tsdch-robotics/ftc5459
package com.qualcomm.ftcrobotcontroller.opmodes; public class Teleop5459 extends Base5459 { boolean ziplineLeftPosition = false; // false = 0.8 /\ true = 0.4 boolean ziplineRightPosition = false; // false = 0.2 /\ true = 0.6 boolean pushPosition = false; boolean scaling = false; double scaleFactor...
Teleop5459.java
package com.qualcomm.ftcrobotcontroller.opmodes; public class Teleop5459 extends Base5459 { boolean ziplineLeftPosition = false; // false = 0.8 /\ true = 0.4 boolean ziplineRightPosition = false; // false = 0.2 /\ true = 0.6 boolean pushPosition = false; boolean scaling = false; double scaleFactor...
change center rod control
Teleop5459.java
change center rod control
<ide><path>eleop5459.java <ide> } <ide> <ide> if (gamepad2.dpad_left) { // takes C rod left <del> rodCenter.setPosition(0.54); <add> rodCenter.setPosition(0.52); <ide> counter = 0; <ide> } else if (gamepad2.dpad_right) { // moves C rod r...
Java
mit
1176f97be4a86da82e98945139eeb23b2bbda2d2
0
franklingu/Cassandra-benchmarking,franklingu/Cassandra-benchmarking,franklingu/Cassandra-benchmarking,franklingu/Cassandra-benchmarking
package cs4224; import com.datastax.driver.core.PreparedStatement; import com.datastax.driver.core.ResultSet; import com.datastax.driver.core.Row; import com.datastax.driver.core.Session; import java.util.ArrayList; import java.util.Date; /** * Created by Gison on 4/10/15. */ public class NewOrder { private Pr...
app/src/main/java/cs4224/NewOrder.java
package cs4224; /** * Created by Gison on 4/10/15. */ public class NewOrder { }
Complete. Test tomorrow.
app/src/main/java/cs4224/NewOrder.java
Complete. Test tomorrow.
<ide><path>pp/src/main/java/cs4224/NewOrder.java <ide> package cs4224; <add> <add>import com.datastax.driver.core.PreparedStatement; <add>import com.datastax.driver.core.ResultSet; <add>import com.datastax.driver.core.Row; <add>import com.datastax.driver.core.Session; <add> <add>import java.util.ArrayList; <add>import ...
JavaScript
mit
04acbf2af268ab830e97bece1282b29e4974e290
0
w8r/L.Control.LineStringSelect,w8r/L.Control.LineStringSelect
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
examples/js/bundle.js
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
bundle
examples/js/bundle.js
bundle
<ide><path>xamples/js/bundle.js <ide> (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){va...
Java
apache-2.0
2b5f7cde8b61d0c225abb413d0cf12a393da290a
0
krzysztof-magosa/encog-java-core,spradnyesh/encog-java-core,Crespo911/encog-java-core,Crespo911/encog-java-core,ThiagoGarciaAlves/encog-java-core,ThiagoGarciaAlves/encog-java-core,krzysztof-magosa/encog-java-core,SpenceSouth/encog-java-core,danilodesousacubas/encog-java-core,spradnyesh/encog-java-core,danilodesousacuba...
/* * Encog(tm) Core v2.4 * http://www.heatonresearch.com/encog/ * http://code.google.com/p/encog-java/ * * Copyright 2008-2010 by Heaton Research Inc. * * Released under the LGPL. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public...
src/org/encog/neural/networks/BasicNetwork.java
/* * Encog(tm) Core v2.4 * http://www.heatonresearch.com/encog/ * http://code.google.com/p/encog-java/ * * Copyright 2008-2010 by Heaton Research Inc. * * Released under the LGPL. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public...
Encog now uses NguyenWidrowRandomizer by default. git-svn-id: f699b99be54c313e643266d5dd560bc939300b59@1543 f90f6e9a-ac51-0410-b353-d1b83c6f6923
src/org/encog/neural/networks/BasicNetwork.java
Encog now uses NguyenWidrowRandomizer by default.
<ide><path>rc/org/encog/neural/networks/BasicNetwork.java <ide> <ide> import org.encog.Encog; <ide> import org.encog.mathutil.error.ErrorCalculation; <add>import org.encog.mathutil.randomize.NguyenWidrowRandomizer; <ide> import org.encog.mathutil.randomize.RangeRandomizer; <ide> import org.encog.neural.NeuralNetworkEr...
Java
apache-2.0
fed4d708da2ef6751081bf8aa043a838b7790122
0
googleinterns/step100-2020,googleinterns/step100-2020,googleinterns/step100-2020
package com.google.sps.search.servlets; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.util.List; import...
capstone/src/main/java/com/google/sps/search/servlets/NameData.java
package com.google.sps.search.servlets; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import javax.servlet.ServletConfig; import javax.servlet....
put first and last name trie in list and then save to file
capstone/src/main/java/com/google/sps/search/servlets/NameData.java
put first and last name trie in list and then save to file
<ide><path>apstone/src/main/java/com/google/sps/search/servlets/NameData.java <ide> import java.io.IOException; <ide> import java.io.ObjectInputStream; <ide> import java.io.ObjectOutputStream; <add>import java.util.ArrayList; <add>import java.util.List; <ide> <ide> import javax.servlet.ServletConfig; <ide> import java...
Java
apache-2.0
90887c4038bd6c97026c545f4618cf695eb0e633
0
webfirmframework/wff,webfirmframework/wff
/* * Copyright 2014-2016 Web Firm Framework * * 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 la...
wffweb/src/test/java/com/webfirmframework/wffweb/css/FontTest.java
/* * Copyright 2014-2016 Web Firm Framework * * 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 la...
Removed unwanted semicolon
wffweb/src/test/java/com/webfirmframework/wffweb/css/FontTest.java
Removed unwanted semicolon
<ide><path>ffweb/src/test/java/com/webfirmframework/wffweb/css/FontTest.java <ide> assertEquals(FontStyle.ITALIC, font1.getFontStyle()); <ide> assertEquals(FontVariant.SMALL_CAPS, font1.getFontVariant()); <ide> assertEquals("bold", font1.getFontWeight().getCssValue()); <del> assertNull(fo...
Java
mit
89940ab8a484b754e6afa10a2bc4c78679be5ff9
0
openregister/openregister-java,openregister/openregister-java,openregister/openregister-java,openregister/openregister-java,openregister/openregister-java
package uk.gov.register.core; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.MapperFeature; import co...
src/main/java/uk/gov/register/core/Entry.java
package uk.gov.register.core; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.MapperFeature; import co...
Cater for nulls in hashCode method in Entry class
src/main/java/uk/gov/register/core/Entry.java
Cater for nulls in hashCode method in Entry class
<ide><path>rc/main/java/uk/gov/register/core/Entry.java <ide> <ide> @Override <ide> public int hashCode() { <del> int result = entryNumber; <del> result = 31 * result + sha256hex.hashCode(); <add> int result = sha256hex != null ? sha256hex.hashCode() : 0; <add> result = 31 * entryNu...
JavaScript
mit
9a8b533e3dfc21da8b41d6c7176c9a7f9a42fc66
0
aswarren/p3_api,aswarren/p3_api,PATRIC3/p3_api,PATRIC3/p3_api
#!/usr/bin/env node /** * generate_local_data_files.json * * Fetech * * Example Usages: * - fetch 20 genomes (and associated cores for each) * ./generate_local_data_files.js --data_api --bulk=20 * * - fetch some private genomes * ./generate_local_data_files.js --data_api --genome_ids=99999.98,9...
tests/generate_local_data_files.js
#!/usr/bin/env node /** * generate_local_data_files.json * * Fetech * * Example Usages: * - fetch 20 genomes (and associated cores for each) * ./generate_local_data_files.js --data_api --bulk=20 * * - fetch some private genomes * ./generate_local_data_files.js --data_api --genome_ids=99999.98,9...
save only docs without solr header
tests/generate_local_data_files.js
save only docs without solr header
<ide><path>ests/generate_local_data_files.js <ide> const DATA_API_URL = 'https://p3.theseed.org/services/data_api' <ide> const DISTRIBUTE_URL = 'http://chestnut.mcs.anl.gov:8983/solr' <ide> <del>// max number of docs that can fetched. Script will end if exceed <add>// max number of docs that can be fetched. Script w...
JavaScript
mit
28007479f1c68af585a2e2473efb2e2b360ac5f2
0
CrossChx/cx-utils
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.check = exports.insertCommasInNumber = exports.renameKeys = exports.mapKeys = exports.mergeListsByProp = exports.dropByName = exports.dropById = exports.dropByProp = exports.findByName = exports.findById = exports.findByProp = expor...
lib/index.js
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.check = exports.insertCommasInNumber = exports.renameKeys = exports.mergeListsByProp = exports.dropByName = exports.dropById = exports.dropByProp = exports.findByName = exports.findById = exports.findByProp = exports.filterByName = ...
Compile
lib/index.js
Compile
<ide><path>ib/index.js <ide> Object.defineProperty(exports, "__esModule", { <ide> value: true <ide> }); <del>exports.check = exports.insertCommasInNumber = exports.renameKeys = exports.mergeListsByProp = exports.dropByName = exports.dropById = exports.dropByProp = exports.findByName = exports.findById = exports.findB...
Java
apache-2.0
9bcd514c94e41bea6761c27c1be57a7cdd9ed03f
0
dg76/Fast-Android-Networking,amitshekhariitbhu/Fast-Android-Networking
/* * Copyright (C) 2016 Amit Shekhar * Copyright (C) 2011 Android Open Source Project * * 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/l...
android-networking/src/androidTest/java/com/androidnetworking/ApplicationTest.java
/* * Copyright (C) 2016 Amit Shekhar * Copyright (C) 2011 Android Open Source Project * * 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/l...
Add synchronous get/post test
android-networking/src/androidTest/java/com/androidnetworking/ApplicationTest.java
Add synchronous get/post test
<ide><path>ndroid-networking/src/androidTest/java/com/androidnetworking/ApplicationTest.java <ide> import android.test.ApplicationTestCase; <ide> <ide> import com.androidnetworking.common.ANConstants; <add>import com.androidnetworking.common.ANRequest; <add>import com.androidnetworking.common.ANResponse; <ide> import ...
Java
apache-2.0
dc41ba94435572410440d78b89aa4e8ec911ab06
0
jesuino/jbpm,livthomas/jbpm,jakubschwan/jbpm,jgoldsmith613/jbpm,OnePaaS/jbpm,psakar/jbpm,jesuino/jbpm,xingguang2013/jbpm-1,xingguang2013/jbpm-1,psakar/jbpm,jomarko/jbpm,jakubschwan/jbpm,sutaakar/jbpm,OnePaaS/jbpm,DuncanDoyle/jbpm,jomarko/jbpm,romartin/jbpm,Aaron2000/jbpm,mrietveld/jbpm,winklerm/jbpm,ibek/jbpm,jomarko/j...
/* Copyright 2010 Intalio Inc 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 agreed to ...
jbpm-flow-builder/src/main/java/org/jbpm/process/builder/dialect/xpath/XPATHReturnValueEvaluatorBuilder.java
/* Copyright 2010 Intalio Inc 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 agreed to ...
fix issue wiht id of the xpath evaluator being null, messing up persistence
jbpm-flow-builder/src/main/java/org/jbpm/process/builder/dialect/xpath/XPATHReturnValueEvaluatorBuilder.java
fix issue wiht id of the xpath evaluator being null, messing up persistence
<ide><path>bpm-flow-builder/src/main/java/org/jbpm/process/builder/dialect/xpath/XPATHReturnValueEvaluatorBuilder.java <ide> String text = descr.getText(); <ide> <ide> try { <del> XPATHReturnValueEvaluator expr = new XPATHReturnValueEvaluator( text, null ); <add> XPATHReturnValueE...
Java
apache-2.0
76088ddbe6a4ee5be5ab5fca761d5bfe930a2841
0
caot/intellij-community,dslomov/intellij-community,ibinti/intellij-community,ibinti/intellij-community,holmes/intellij-community,amith01994/intellij-community,idea4bsd/idea4bsd,ol-loginov/intellij-community,semonte/intellij-community,petteyg/intellij-community,idea4bsd/idea4bsd,fitermay/intellij-community,wreckJ/intell...
package org.jetbrains.jps.incremental; import com.intellij.openapi.util.UserDataHolderBase; import com.intellij.openapi.util.io.FileUtil; import com.intellij.util.containers.SLRUCache; import org.jetbrains.annotations.NotNull; import org.jetbrains.ether.dependencyView.ClassRepr; import org.jetbrains.ether.dependencyVi...
jps/jps-builders/src/org/jetbrains/jps/incremental/CompileContext.java
package org.jetbrains.jps.incremental; import com.intellij.openapi.util.UserDataHolderBase; import com.intellij.openapi.util.io.FileUtil; import com.intellij.util.containers.SLRUCache; import org.jetbrains.annotations.NotNull; import org.jetbrains.ether.dependencyView.ClassRepr; import org.jetbrains.ether.dependencyVi...
clean files cache for affected modules only
jps/jps-builders/src/org/jetbrains/jps/incremental/CompileContext.java
clean files cache for affected modules only
<ide><path>ps/jps-builders/src/org/jetbrains/jps/incremental/CompileContext.java <ide> } <ide> <ide> void onChunkBuildComplete(@NotNull ModuleChunk chunk) { <del> myFilesCache.clear(); <add> for (Module module : chunk.getModules()) { <add> myFilesCache.remove(module); <add> } <ide> myMappings.cle...
Java
bsd-3-clause
65293ae59e5835708dadb75eb2535e00590dc561
0
Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo
/******************************************************************************* * Caleydo - visualization for molecular biology - http://caleydo.org * * Copyright(C) 2005, 2012 Graz University of Technology, Marc Streit, Alexander * Lex, Christian Partl, Johannes Kepler University Linz </p> * * This progra...
org.caleydo.view.tourguide/src/org/caleydo/view/tourguide/data/score/ExternalIDTypeScore.java
/******************************************************************************* * Caleydo - visualization for molecular biology - http://caleydo.org * * Copyright(C) 2005, 2012 Graz University of Technology, Marc Streit, Alexander * Lex, Christian Partl, Johannes Kepler University Linz </p> * * This progra...
fixing is my group check git-svn-id: 149221363d454b9399d51e0b24a857a738336ca8@5636 1f7349ae-fd9f-0d40-aeb8-9798e6c0fce3
org.caleydo.view.tourguide/src/org/caleydo/view/tourguide/data/score/ExternalIDTypeScore.java
fixing is my group check
<ide><path>rg.caleydo.view.tourguide/src/org/caleydo/view/tourguide/data/score/ExternalIDTypeScore.java <ide> * @return <ide> */ <ide> private static boolean isMyGroup(Group group, AVariablePerspective<?, ?, ?, ?> perspective) { <del> if (group == null || group.getPerspectiveID() == null) <del> return false; <d...
Java
mit
fd5c43a57603d91d44bab4144704239cc1bfb5a2
0
erimerturk/takes,RamIndani/takes,dalifreire/takes,georgeyanev/takes,essobedo/takes,ekondrashev/takes,Bertram25/takes,essobedo/takes,bdragan/takes,erimerturk/takes,georgeyanev/takes,ikhvostenkov/takes,dalifreire/takes,mstzn36/takes,dmzaytsev/takes,hs3180/takes,bdragan/takes,ekondrashev/takes,simonjenga/takes,yegor256/ta...
/** * The MIT License (MIT) * * Copyright (c) 2015 Yegor Bugayenko * * 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 ...
src/main/java/org/takes/http/FtRemote.java
/** * The MIT License (MIT) * * Copyright (c) 2015 Yegor Bugayenko * * 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 ...
#29 port allocation improved
src/main/java/org/takes/http/FtRemote.java
#29 port allocation improved
<ide><path>rc/main/java/org/takes/http/FtRemote.java <ide> import java.io.IOException; <ide> import java.net.ServerSocket; <ide> import java.net.URI; <add>import java.util.Set; <add>import java.util.concurrent.ConcurrentSkipListSet; <ide> import java.util.concurrent.atomic.AtomicBoolean; <ide> import lombok.EqualsAndHa...
Java
apache-2.0
293597903917053505923966a10d3354c4f4998a
0
devnull-tools/trugger
/* * Copyright 2009-2014 Marcelo Guimarães * * 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 applicab...
src/test/java/org/atatec/trugger/test/reflection/MethodReflectionTest.java
/* * Copyright 2009-2014 Marcelo Guimarães * * 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 applicab...
imports
src/test/java/org/atatec/trugger/test/reflection/MethodReflectionTest.java
imports
<ide><path>rc/test/java/org/atatec/trugger/test/reflection/MethodReflectionTest.java <ide> import org.atatec.trugger.test.Flag; <ide> import org.junit.Test; <ide> <del>import static junit.framework.Assert.assertFalse; <del>import static junit.framework.Assert.assertTrue; <add>import static org.junit.Assert.assertFalse...